DNS records not propagated to slave-server permission denied

Created:

2016-11-16 12:51:36 UTC

Modified:

2017-08-08 13:32:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

DNS records not propagated to slave-server permission denied

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  1. "Slave DNS Manager" extension is used on the Plesk server.

  2. DNS record of CNAME type subdomain.example.com is present on slave DNS server, but slave DNS server does not resolve name subdomain.example.com .

  3. The following message is present in /var/log/messages :

    Jul 17 06:30:20 ns1 named[7428]: dumping master file: tmp-W29mSBbQ7W: open: permission denied.
  4. On slave DNS server The following message appears in /var/log/named/general.log with verbose logging is on

    23-Jul-2016 03:51:40.281 zone subdomain.example.com/IN: refresh: CNAME at top of zone in master 10.20.30.40#53 (source 0.0.0.0#0)
  5. The following command fails with permission denied error

    # rndc -c /usr/local/psa/var/modules/slave-dns-manager/slave_10.20.30.40.conf delzone subdomain.example.com

Cause

Group named have no permissions to write to directory /var/named .

Resolution

  1. Perform the following command on the slave DNS server:

    # chmod 760 /var/named
  2. Perform the following commands on the Plesk server:

    # rndc -c /usr/local/psa/var/modules/slave-dns-manager/slave_10.20.30.40.conf delzone subdomain.example.com
    # rndc -c /usr/local/psa/var/modules/slave-dns-manager/slave_10.20.30.40.conf reload
Have more questions? Submit a request
Please sign in to leave a comment.