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 0.0.127.in-addr.arpa/IN: loaded serial 1
    zone coriolis-institute.com/IN: NS 'mainserv.coriolis-institute.com' has no address records (A or AAAA)
    zone coriolis-institute.com/IN: NS 'mainserv0.coriolis-institute.com' has no address records (A or AAAA)
    zone coriolis-institute.com/IN: not loaded due to errors.
    _default/coriolis-institute.com/IN: bad zone
    [FAILED]


    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/named.ca /var/named/chroot/var/named/named.ca
    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/named.ca /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 24.119.186.239 and one is just www pointing to 24.119.186.239
     
  3. falko

    falko Super Moderator Howtoforge Staff

    I guess you didn't create A records for mainserv.coriolis-institute.com and mainserv0.coriolis-institute.com. Can you post the coriolis-institute.com 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