• 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.

Issue with Slave DNS Manager

Colb

New Pleskian
Hello,

After reading https://devblog.plesk.com/2013/10/slave-dns-and-plesk/ i set up my secondary DNS server.
Everything is fine, the Slave DNS Manager connexion to the slave server is OK but it doesn't create the zones. I can create it manually and then synchronize, but that's not the idea.
Now, when you add a domain in Plesk, a DNS zone is automatically created on the slave server as well as on the master server.

In the logs i see :
Code:
received control channel command 'addzone mydomain.tld { type slave; file "mydomain.tld"; masters { xxx.xxx.xxx.xxx; }; };'
received control channel command 'refresh mydomain.tld'
received control channel command 'addzone mydomain.tld { type slave; file "mydomain.tld"; masters { xxx.xxx.xxx.xxx; }; };'

When i try manually to
Code:
 rndc -c slave.config addzone mydomain.tld
or
rndc -c slave.config addzone mydomain.tld '{ type slave; file "mydomain.tld"; masters { xxx.xxx.xxx.xxx; }; };'
I got
Code:
rndc: slave.config does not exist
It seems the problem is there.

I already did a
chown -R named:named .
in /var/named
 
Last edited:
Do you have lines like

INFO [panel] Executing /usr/local/psa/admin/plib/modules/slave-dns-manager/scripts/slave-dns.php done.

in /usr/local/psa/admin/logs/panel.log ?
 
It looks like extension was not installed correctly. Try to re-install it and check /usr/local/psa/admin/logs/panel.log again.
 
No change.
I reinstalled the extension, and even tryied on a fresh install.
I think i missed something
 
Hey @Colb
The error "rndc: slave.config does not exist" is related to the non existing config path in your CLI execution:
Code:
rndc -c /usr/local/psa/var/modules/slave-dns-manager/slave_10.58.104.114.conf addzone mydomain.tld '{ type slave; file "mydomain.tld"; masters { xxx.xxx.xxx.xxx; }; };'
Where the config file /usr/local/psa/var/modules/slave-dns-manager/slave_10.58.104.114.conf was created by the extension.

I can create it manually and then synchronize, but that's not the idea.
Could you please describe how do you create it and what do you expect?
 
Back
Top