Page 1 of 1

debian 7 - adding external dns transfer/notify error

Posted: Fri Aug 29, 2014 7:23 am
by jalogisch
Hej,

as given in the Documentation (http://vestacp.com/docs/#how-to-enable-zone-transfer) i had tried to enable axfr/notify for the external DNS Servers on my Debian 7 System, running latest VestaCP Version.

I had placed the Settings in /etc/bind/named.conf.local as this is the best location for this. The Option "allow-transfer { none;};" was not set before (anywhere). To enable i restarted bind and it failes with the following error in the logfile:

Code: Select all

/etc/bind/named.conf.local:5: unknown option 'allow-transfer'
/etc/bind/named.conf.local:6: unknown option 'also-notify'
A search in the Wild does not give me any Solution i can work with - so i place my question here. Maybe someone had the same Issue and had fixed it.

/jd

Re: debian 7 - adding external dns transfer/notify error

Posted: Fri Aug 29, 2014 7:38 am
by jalogisch
i just want to answer my own question.

options need to be places in the "option" block which can be find in "/etc/bind/named.conf.options" on debian.

Code: Select all

        // transfer the zone information to the secondary DNS
        allow-transfer { ip.of.secondary.server; };
        // send notification to secondary
        also-notify { ip.of.secondary.server; };
        // Do not make public version of BIND
        version none;

Re: debian 7 - adding external dns transfer/notify error

Posted: Fri Jan 22, 2016 12:49 pm
by Spheerys
It could be usefull to update the official VestaCP documentation on this point : https://vestacp.com/docs/#how-to-enable-zone-transfer :)