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!
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!