Transfer to DNS slave
Hello,
is there anything I need to do to allow transfer to secondary dns on cpanel?
Now I have in named.log:
25-Jan-2016 05:25:52.226 security: error: client 213.251.188.141#39226 (domain.tldl): view external: zone transfer 'domain.tld/AXFR/IN' denied
25-Jan-2016 05:25:52.842 security: error: client 213.251.188.141#39546 (domain2.tld): view external: zone transfer domain2.tld/AXFR/IN' denied
-
Hello :) Are the servers connected through a DNS cluster? If so, syncing the zone to the additional server in the cluster does not require any additional actions. Thank you. 0 -
There is no cluster, secondary DNS is on OVH. Domain added in OVH client panel. I manually add allow-transfer [ IP-Here; }; to /etc/named.conf and now domains are transferred correctly. 0 -
I am happy to see the domain names are now transferred correctly. Thank you for updating us with the outcome. 0 -
So... I've the same situation, a cPanel server running the DNS as master and then another machine somewhere else running as slave using debian. I've modified `/etc/named.conf` to allow the zone transfer and it works. My question is: won't WHM / cPanel remove my settings from that file after someone updates the DNS zone or a WHM upgrade? How can I make sure WHM/cPanel will keep them? Thank you. 0 -
I've modified `/etc/named.conf` to allow the zone transfer and it works. My question is: won't WHM / cPanel remove my settings from that file after someone updates the DNS zone or a WHM upgrade?
It should only update when you manually run the "/scripts/rebuilddnsconfig" script. Thank you.0 -
It should only update when you manually run the "/scripts/rebuilddnsconfig" script. Thank you.
Is there a better option? Is there any template file for the dns config like there's for Dovecot config for instance? If yes, where can I find it? I really need to make sure that config is still there even after a rebuild, a cPanel upgrade or whatever might come on the way. Thank you.0 -
Is there a better option? Is there any template file for the dns config like there's for Dovecot config for instance? If yes, where can I find it?
A cPanel update will not overwrite the entries to the /etc/named.conf file. This only happens if you manually run the "/scripts/rebuilddnsconfig" script. That said, I suggest opening a feature request for the ability to edit and preserve changes to the /etc/named.conf file via Web Host Manager: Submit A Feature Request Thank you.0
Please sign in to leave a comment.
Comments
7 comments