As with most things web-server related, Plesk users have a great advantage when configuring a slave DNS server to work with Plesk thanks to the Extension that manages it for you here. It even walks you through most of the setup process. However there are a few things that can prevent it from working when simply following the directions. Here are the solutions:
- If the master server takes a long time and never reaches the slave with a timeout, make sure the firewall on the master server allows port 953 outgoing (Egress)
- Be sure to disable recursion on the slave server by editing /etc/named.conf and setting `recursion no;` under the options { } config
- Configure named to listen on the server IP and not just localhost by adding it to the "listen-on port 53" directive.
- Configure named to allow external queries, by changing "allow-query" to "any;" rather than just "localhost;"
- Finally, be sure to set permissions correctly with this command: `chown named:named /var/named/`. By default its ownership is root:named which will prevent zone files from being created. Source
To fix this, look in /var/named/ for a file that ends in .nzf. In our case it was "3bf305731dd26307.nzf" but yours is bound to be different. This file contains the cached master server for each zone. Find and replace the old IP with the new, then restart named and you should be all set!