Centos 5.5 install /etc/named.conf.local

Discussion in 'Installation/Configuration' started by discoverlinux, Jun 24, 2010.

  1. discoverlinux

    discoverlinux New Member

    Hi, I've installed chroot DNS where named.conf.local is at /var/named/chroot/etc . However, ISPConfig3 is actually editting /etc/named.conf.local. Tried using symbolic links but named complained and wouldn't start so copied /etc/named.conf.local to /var/named/chroot/etc . How can I update ISPConfig to use the chroot path?

    Thanks, John.
     
  2. till

    till Super Moderator

    System > server config > server > dns tab.
     
  3. discoverlinux

    discoverlinux New Member

    Thankyou, all changed.


    BIND User named
    BIND Group named
    BIND zonefiles directory /var/named/chroot/var/named
    BIND named.conf path /var/named/chroot/etc/named.conf
    /var/named/chroot/etc/named.conf.local
     
  4. borgo

    borgo New Member

    Another issue in the named.conf I discovered is this one:

    I have installed ISPconfig in a KVM virtual machine (the Hetzner way, natted).
    I followed the Perfect Centos 5.5 setup and installed bind.

    In the /var/named/chroot/etc/named.conf I had to change the line
    listen-on port 53 { 127.0.0.1; };

    into this one:
    listen-on port 53 { 10.x.x.x; };
    The address above is the private virtual lan address of the server.

    I also had to comment out the line:
    allow-query { localhost; };

    I preferred to switch the last line "recursion yes" in recursion no" as well.

    Hoping this could be helpful

    Cheers
    borgo
     

Share This Page