Introduction
You may want to transfer a domain's zone to another DNS server or cluster. This article provides the steps to enable AXFR for servers running the PowerDNS nameserver.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open
/etc/pdns/pdns.conf
in your preferred text editor. - Locate the
disable-axfr
line. - Set the
disable-axfr
value tono
.disable-axfr=no
- Locate the
allow-axfr-ips
line.# allow-axfr-ips=127.0.0.0/8,::1
- Uncomment the line and replace
127.0.0.0/8,::1
with the remote server's IP address.allow-axfr-ips=203.0.113.2
- Save the changes and exit the text editor.
- Rebuild the DNS configuration.
/usr/local/cpanel/scripts/rebuilddnsconfig
- If you have DNSSEC enabled for a domain, you will also need to disable
nsec3
semantics for that domain.whmapi1 unset_nsec3_for_domains domain=$domain.tld
Please note that "$domain.tld" must be replaced with the DNSSEC domain enabled.
Comments
0 comments
Article is closed for comments.