• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

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