debian 7 - adding external dns transfer/notify error
debian 7 - adding external dns transfer/notify error
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:
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
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'
/jd
Re: debian 7 - adding external dns transfer/notify error
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.
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
It could be usefull to update the official VestaCP documentation on this point : https://vestacp.com/docs/#how-to-enable-zone-transfer :)