• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Slave DNS Manager not sync and connect

Creativados

Basic Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
Versión 18.0.48
I'm trying to set up my own DNS slave server

I have followed this official guide


But after configuring everything, the master server doesn't connect to the slave server


/usr/sbin/rndc -b "51.83.2.118" -s "188.165.212.210" -p "953" -y "rndc-key" -c "/opt/psa/var/modules/slave-dns-manager/slave_188.165.212.210.conf" status rndc: connection to remote host closed This may indicate that * the remote server is using an older version of the command protocol, * this host is not authorized to connect, * the clocks are not synchronized, * the key signing algorithm is incorrect, or * the key is invalid. Error code: 1
 
The server time is incorrect. It is 1 minute behind the time:

from the Plesk Server:

# date
Mon Jul 4 20:17:17 SAST 2022


from any other Server:

# date
Tue Jul 5 01:18:18 +07 2022


the time sync is disabled as well:

# timedatectl | grep sync
System clock synchronized: no


To resolve the issue, please sync the time between master and slave servers, for example, using the same NTP server.
The following guide may be useful: https://support.plesk.com/hc/en-us/articles/360003099194
 
Ok my server is in time.

But result is equal

$ date
Wed Nov 30 06:57:26 CET 2022

# date
Wed 30 Nov 2022 06:57:26 AM CET

/usr/sbin/rndc -b "51.83.2.118" -s "188.165.212.210" -p "953" -y "rndc-key" -c "/opt/psa/var/modules/slave-dns-manager/slave_188.165.212.210.conf" status rndc: connection to remote host closed This may indicate that * the remote server is using an older version of the command protocol, * this host is not authorized to connect, * the clocks are not synchronized, * the key signing algorithm is incorrect, or * the key is invalid. Error code: 1
 
Make sure that the key in file /etc/bind/rndc.key match the key in /etc/named.conf:

# grep secret /etc/bind/rndc.key
secret "H226I1Ew0yE4j2VyWMaW7A==";

# grep secret /etc/named.conf
secret "H226I1Ew0yE4j2VyWMaW7A==";
 
Make sure that the key in file /etc/bind/rndc.key match the key in /etc/named.conf:

# grep secret /etc/bind/rndc.key
secret "H226I1Ew0yE4j2VyWMaW7A==";


# grep secret /etc/named.conf
secret "H226I1Ew0yE4j2VyWMaW7A==";
yes is equal

sudo grep secret /etc/bind/rndc.key
secret "XXXXXXXXwBCrGPQaTfJiqw==";

grep secret /etc/named.conf
secret "XXXXXXXXwBCrGPQaTfJiqw==";
 
Back
Top