[root@casa /var/log/system]# service named start/usr/local/etc/namedb/named.conf:61: option 'update-policy' is not allowed in 'secondary' zone 'xxxxxx.xxx'
/usr/local/etc/namedb/named.conf:93: option 'update-policy' is not allowed in 'secondary' zone 'xx.xx.xx.in-addr.arpa'
zone "xx.xx.xx.in-addr.arpa" { type secondary; primaries { yy.yy.yy.yy key "key.dyn.zz.zz.zz"; }; file "/usr/local/etc/namedb/secondary/xx.xx.xx.in-addr.arpa.db"; allow-transfer { ns_notify; }; allow-query { ns_query; }; update-policy { grant rndc-key zonesub ANY; };};
Y@Z:/usr/local/opnsense/service/templates/OPNsense/Bind % diff named.conf.org named.conf183c183< {% if domain.allowrndcupdate is defined and domain.allowrndcupdate == "1" %}---> {% if domain.allowrndcupdate is defined and domain.allowrndcupdate == "1" and domain.type != 'secondary' %}
/usr/local/bin/named does not allow updates on the secondary zone as they should be done to the primary zone.
Dynamic update is a method for adding, replacing, or deleting records in a primary server by sending it a special form of DNS messages. The format and meaning of these messages is specified in RFC 2136.