[HOW TO] Set up a secondary (slave) DNS server?

Created:

2016-11-16 12:39:27 UTC

Modified:

2017-06-05 06:07:48 UTC

1

Was this article helpful?


Have more questions?

Submit a request

[HOW TO] Set up a secondary (slave) DNS server?

Applicable to:

  • Plesk for Linux
  • Plesk Onyx for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.5 for Windows

Question

How to set up a secondary (slave) DNS server?

Answer

First, zone transfer for the secondary DNS server should be allowed in Plesk. To do it list secondary DNS server's IP in NS records for all zones on Plesk server or add it to Access Control List (ACL). ACL is managed under Server > DNS Settings > Common ACL .

For non-Plesk secondary DNS servers:

  1. Create all DNS zones on the secondary DNS server in /etc/named.conf (this file location may differ depending on OS) with slave type. For example:

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

  2. Restart named service.

Now the slave DNS server will get zones information from Plesk (the master DNS server).

For Plesk secondary DNS servers:

  1. switch all DNS zones on the slave DNS Plesk server to slave mode and specify the Master nameserver. This can be done under Domains > example.com > DNS Settings > Switch DNS Service Mode .

  2. Add the Primary NS address using the Add Record button.

Additional information

[HOW TO] Set up a secondary (slave) DNS server on Plesk 12.x?

Have more questions? Submit a request
Please sign in to leave a comment.