Plesk server is running as primary DNS server. How can I setup a secondary (slave) DNS server?

Article ID: 1338 
Last Review: Oct,6 2008
Author:
Last updated by: system APPLIES TO:
  • Plesk 8.x for Linux/Unix

Resolution

At first you should allow zone transfer for the secondary DNS server in Plesk. To allow it, secondary DNS server's IP should be listed in NS records for all zones on Plesk server or it should be added to Access Control List (ACL). ACL is be managed on the Server->DNS Settings->Common ACL page in Plesk CP.

In case if you wish to use non Plesk server as slave DNS, all DNS zones have to be created on the secondary DNS server in /etc/named.conf (this file location may be differ depending on OS) with 'slave' type, for example:

zone "example.com" {
type slave;
file "example.com.zone";
masters { 192.168.0.1; };
};

Restart named after that. Now slave DNS server will get zones information from Plesk (master DNS server).


If you wish to use Plesk server as Slave DNS server, you have to switch all DNS zones on the Slave Plesk server to 'slave' mode and specify Master nameserver. It can be done by means of  "Domains -> DOMAIN NAME -> DNS Settings -> Switch DNS Service Mode". Then add Primary NS address using "Add Record" button.

Also, distributed DNS servers for Plesk domains can be configured with Centralized DNS feature in Plesk Expand. See Expand documentation for more information.


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields