1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

named.conf path problem

Discussion in 'Plesk for Linux - 8.x and Older' started by caguru, Nov 2, 2008.

  1. caguru

    caguru Guest

    0
     
    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!
     
Loading...