adding record breaks bind

Discussion in 'Installation/Configuration' started by dr_patso, Sep 28, 2011.

  1. dr_patso

    dr_patso New Member

    Error in named configuration:
    zone loaded serial 1
    zone NS '' has no address records (A or AAAA)
    zone NS '' has no address records (A or AAAA)
    zone not loaded due to errors.
    _default/ bad zone

    I used this guide

    9 Install A Chrooted DNS Server (BIND9)
    To install a chrooted BIND9, we do this:

    yum install bind-chroot

    Then do this:

    chmod 755 /var/named/
    chmod 775 /var/named/chroot/
    chmod 775 /var/named/chroot/var/
    chmod 775 /var/named/chroot/var/named/
    chmod 775 /var/named/chroot/var/run/
    chmod 777 /var/named/chroot/var/run/named/
    cd /var/named/chroot/var/named/
    ln -s ../../ chroot
    cp /var/named/named.localhost /var/named/chroot/var/named/named.localhost
    cp /var/named/ /var/named/chroot/var/named/
    cp /var/named/named.empty /var/named/chroot/var/named/named.empty
    cp /var/named/named.loopback /var/named/chroot/var/named/named.loopback
    chgrp named /var/named/chroot/var/named/named.localhost /var/named/chroot/var/named/ /var/named/chroot/var/named/named.empty /var/named/chroot/var/named/named.loopback
    touch /var/named/chroot/etc/named.conf
    chkconfig --levels 235 named on
    /etc/init.d/named start

    This is like the 5th time I've followed a guide and this always happens with ispconfig 2.... ispconfig 3 won't error out bind just doens't work, and I did however get ispconfig 3 to work with DNS with a centos 5.6 guide... I also bought a ispconfig 3 manual, but pureftpd was givign me headaches and nobody knew the answer so I decided to go to ispconfig 2 with proftpd
  2. dr_patso

    dr_patso New Member

    oh also that line in the how to that starts with chrgrp i included the line below it in the single command.... wtf is going on here? in ispconfig I have 2 a records.. one is blank and pointing to my IP and one is just www pointing to
  3. falko

    falko Super Moderator ISPConfig Developer

    I guess you didn't create A records for and Can you post the zone file?
  4. dr_patso

    dr_patso New Member

    I formatted, did centos 5.6 and ispconfig 3 guide.. I have everything working perfectly now, even pureftpd which is why i tried to load ispconfig 2

    I appreciate the help though..

Share This Page