How to integrate Plesk with a secondary (slave) DNS server?

Follow

Comments

6 comments

  • Avatar
    Abraham Monrroy

    How often are the zones synced?

  • Avatar
    Taras Ermoshin (Edited )

    Hello @Abraham Monrroy!

    Zones are synced between master and slave DNS servers in 2 conditions:

    1. When DNS zone is changed on the master DNS server, master sends notifies to all slaves.

    2. In the SOA record of the zone, there is a "refresh" parameter (in seconds):

    # nslookup -type=SOA example.com
    Server: 10.55.253.101
    Address: 10.55.253.101#53

    Non-authoritative answer:
    example.com
    origin = sns.dns.icann.org
    mail addr = noc.dns.icann.org
    serial = 2018112865
    refresh = 7200
    retry = 3600
    expire = 1209600
    minimum = 3600

    Every time this refresh period is expired, slave DNS server connects to master DNS server and refreshes the zone.

    The refresh period can be changed in Plesk in Tools & Settings > DNS Template > SOA Records Template > Refresh interval.

  • Avatar
    Shariq Khan

    I am using Plesk on Windows server. On this server Plesk is running with MS DNS. If i want to deploy external DNS slave server with Plesk as Master DNS. Shall i change Plesk MS DNS with BIND first? OR Slave DNS manager extension is enough to deploy external slave DNS.

  • Avatar
    Ivan Postnikov

    Hello @Shariq,

    It is ok to use MS DNS as a master.

  • Avatar
    Sean Kimball

    This plugin is not working at all, in fact it is messing up all provisioning of plesk subscriptions.  The command issues to RNDC from the plugin is wrong.  the error I get is:

    /usr/sbin/rndc -b "xxx.xxx.xxx.xxx" -s "xxx.xxx.xxx.xxx" -p "953" -y "rndc-key" -c "/usr/local/psa/var/modules/slave-dns-manager/slave_xxx.xxx.xxx.xxx.conf"

    the -y switch actually says "rndc-key" not the actual key supplied to the config. - this basically hangs the server while RNDC waits for a response. 

     

    How do we fix that? 

  • Avatar
    Daria Gavrilova

    Hello @Sean Kimball,

    In most cases there are 2 causes of the issue:
    The 1 one is that the port 953 is filtered.
    More information on this matter can be found here: Cannot setup slave DNS server using Slave DNS extension

    The 2 cause is that integration configuration is not added to slave DNS server.
    I recommend you to check if the same rndc-key can be found in /usr/local/psa/var/modules/slave-dns-manager/slave_xxx.xxx.xxx.xxx.conf and /etc/named.conf on slave DNS server.

    More information on this matter you can also find here:

    In case if it does not help, please create a request to Plesk Technical Support: How to submit a request to Plesk support?

Please sign in to leave a comment.

Have more questions? Submit a request