• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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