Replace domain in "ucheck.domain" with a domain of yours in both the SQL below and ucheck-check.sh. Normally use the one the DNS servers are in (this assumes your servers are called a.ns.domain, b.ns.domain, etc, change in ucheck-check.sh).
Do something like this in MySQL:
CREATE SQL SECURITY DEFINER VIEW ucheck AS
SELECT id, domain_id, name,type, content, ttl, prio, change_date from records where (name = 'ucheck.domain') WITH CASCADED CHECK OPTION;
GRANT UPDATE on pdns.ucheck to ucheck@localhost;