• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

named.conf path problem

C

caguru

Guest
I recently removed named-chroot & caching-nameserver from my server to help resolve the problems with Plesk has with these packages. Afterwards, every time a domain is added, it's zone file is never loaded because of a broken path in named.conf

Plesk generates in named.conf (which does not load):

zone "mydomain.com" {
type master;
file "mydomain.com";
allow-transfer {
10.10.10.10;
common-allow-transfer;
};
};

but I add '/var/' to the path like so (and it works):

zone "mydomain.com" {
type master;
file "/var/mydomain.com";
allow-transfer {
10.10.10.10;
common-allow-transfer;
};
};

Right now named.conf is in /var/named/run-root/etc and all the zone files are in /var/named/run-root/var. How do I make it update named.conf with the correct path?

Plesk 8.4 / centos

Thanks for the help!
 
Back
Top