Introduction
Zone transfers are disabled by default on cPanel servers. The following procedure provides the steps needed to disable AXFR transfers if enabled.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Open the
/etc/named.conffile in your preferred text editor. - Locate the
optionssection. - Change the
allow-transfervalue to"none".allow-transfer { "none"; };Please note that there may beallow-transferentries in thezoneorviewsections, which also need to be set to"none". - Save the changes and exit the text editor.
- Rebuild the DNS configuration
/scripts/rebuilddnsconfig
- Restart the Bind service.
/scripts/restartsrv_named
Comments
0 comments
Article is closed for comments.