BIND broke

Discussion in 'Installation/Configuration' started by adamluz, Jun 2, 2006.

  1. adamluz

    adamluz New Member

    Hello, I had a problem with bind telling me it couldn't find the files after I tried to mess with webmin. After i search through this forum i tried uninstalling bind fully and reinstalling it not touching it with webmin. Seems like ispconfig won't work with the dns though. It can't start bind. What is the default Zonefiles Dir.:

    any other helpful hints?
     
  2. adamluz

    adamluz New Member

  3. adamluz

    adamluz New Member

    Okay now I think I crashed it worse. Getting the following errors when i try to start it:

    Starting named: Error in named configuration: zone 0.0.127.in-addr.arpa/IN: loaded serial 1 zone 129.18.66.in-addr.arpa/IN: loaded serial 2006060102 zone 254.214.66.in-addr.arpa/IN: loaded serial 2006060102 zone absz.com/IN: loading master file pri.absz.com: file not found _default/absz.com/IN: file not found zone adamluz.com/IN: loaded serial 2006060101 zone thecitygirls.com/IN: loading master file pri.thecitygirls.com: file not found _default/thecitygirls.com/IN: file not found zone mycityescort.com/IN: loading master file pri.mycityescort.com: file not found _default/mycityescort.com/IN: file not found zone 0nt.com/IN: loading master file pri.0nt.com: file not found _default/0nt.com/IN: file not found zone casinoallure.net/IN: loading master file pri.casinoallure.net: file not found _default/casinoallure.net/IN: file not found zone clfinancial.net/IN: loading master file pri.clfinancial.net: file not found _default/clfinancial.net/IN: file not found zone nanoind.net/IN: loading master file pri.nanoind.net: file not found _default/nanoind.net/IN: file not found zone kellieblaise.com/IN: loading master file pri.kellieblaise.com: file not found _default/kellieblaise.com/IN: file not found zone 66.18.129.220/IN: loading master file pri.66.18.129.220: file not found _default/66.18.129.220/IN: file not found zone liquidladybts.com/IN: loading master file pri.liquidladybts.com: file not found _default/liquidladybts.com/IN: file not found zone mypagepimp.com/IN: loading master file

    I don't know what this _default is that its adding. Here is my config file: from /var/named/chroot/etc/named.conf

    options {
    pid-file "/var/named/chroot/var/run/named/named.pid";
    directory "/var/named/chroot/var/named/";
    auth-nxdomain no;
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    //
    // a caching only nameserver config
    //
    zone "." {
    type hint;
    file "named.ca";
    };

    zone "0.0.127.in-addr.arpa" {
    type master;
    file "named.local";
    };

    zone "129.18.66.in-addr.arpa" {
    type master;
    file "pri.129.18.66.in-addr.arpa";
    };
    zone "254.214.66.in-addr.arpa" {
    type master;
    file "pri.254.214.66.in-addr.arpa";
    };


    zone "absz.com" {
    type master;
    file "pri.absz.com";
    };
    zone "adamluz.com" {
    type master;
    file "pri.adamluz.com";
    };
    zone "thecitygirls.com" {
    type master;
    file "pri.thecitygirls.com";
    };
    zone "mycityescort.com" {
    type master;
    file "pri.mycityescort.com";
    };

    ect...

    and here is a file list with permissions

    [root@fc4 named]# cd /var/named/chroot/var/named/
    [root@fc4 named]# ls -l
    total 200
    -rw-r--r-- 1 root root 279 May 30 13:22 247homehealthcare.com.hosts
    -rw-r--r-- 1 root root 252 May 30 13:22 adinweb.com.hosts
    -rw-r--r-- 1 root root 271 May 30 13:22 armanaghajanyan.com.hosts
    -rw-r--r-- 1 root root 251 May 30 13:22 armconcept.com.hosts
    -rw-r--r-- 1 root root 257 May 30 13:23 bdbronze.com.hosts
    -rw-r--r-- 1 root root 275 May 30 13:23 bennyblankobeats.com.hosts
    -rw-r--r-- 1 root root 243 May 30 13:23 capatrol.com.hosts
    lrwxrwxrwx 1 root root 6 Aug 16 2005 chroot -> ../../
    drwxrwx--- 2 named named 4096 Aug 25 2004 data
    -rw-r--r-- 1 root root 235 May 30 13:23 gousan.com.hosts
    -rw-r--r-- 1 root root 239 May 30 13:24 hamaynk.com.hosts
    -rw-r--r-- 1 root root 255 May 30 13:24 katiatravel.com.hosts
    -rw-r--r-- 1 root root 243 May 30 13:25 laxolimo.com.hosts
    -rw-r--r-- 1 root root 243 May 30 13:25 linenbuy.com.hosts
    -rw-r--r-- 1 root root 259 May 30 13:25 lionmotoring.com.hosts
    -rw-r--r-- 1 named named 198 Aug 25 2004 localdomain.zone
    -rw-r--r-- 1 named named 195 Aug 25 2004 localhost.zone
    -rw-r--r-- 1 named named 415 Aug 25 2004 named.broadcast
    -rw-r--r-- 1 named named 2517 May 31 14:45 named.ca
    -rw-r--r-- 1 named named 432 Aug 25 2004 named.ip6.local
    -rw-r--r-- 1 root root 256 Jun 1 16:25 named.local
    -rw-r--r-- 1 named named 416 Aug 25 2004 named.zero
    -rw-r--r-- 1 root root 303 May 30 13:26 northhillsmedicalclinic.com.hosts
    -rw-r--r-- 1 root root 251 May 30 13:26 novacancee.com.hosts
    -rw-r--r-- 1 root root 243 May 30 14:41 o-design.org.hosts
    -rw-r--r-- 1 root root 267 May 30 14:40 okanaganbettas.com.hosts
    -rw-r--r-- 1 root root 302 May 30 13:26 pmltransportation.com.hosts
    -rw-r--r-- 1 named named 690 Aug 22 2005 pri.0nt.com~
    -rw-r--r-- 1 named named 1688 Jun 1 16:30 pri.129.18.66.in-addr.arpa
    -rw-r--r-- 1 named named 1687 Jun 1 16:30 pri.129.18.66.in-addr.arpa~
    -rw-r--r-- 1 named named 2384 Jun 1 16:30 pri.254.214.66.in-addr.arpa
    -rw-r--r-- 1 named named 2383 Jun 1 16:30 pri.254.214.66.in-addr.arpa~
    -rw-r--r-- 1 named named 799 Jun 1 16:25 pri.adamluz.com
    -rw-r--r-- 1 named named 698 Aug 18 2005 pri.adamluz.com~
    -rw-r--r-- 1 named named 708 Aug 24 2005 pri.casinoallure.net~
    -rw-r--r-- 1 named named 706 Aug 30 2005 pri.clfinancial.net~
    -rw-r--r-- 1 named named 708 Aug 30 2005 pri.kellieblaise.com~
    -rw-r--r-- 1 named named 699 Aug 18 2005 pri.mycityescort.com~
    -rw-r--r-- 1 named named 698 Aug 25 2005 pri.nanoind.net~
    -rw-r--r-- 1 named named 746 Jun 1 16:34 pri.okanaganbettas.com
    -rw-r--r-- 1 named named 744 Jun 1 16:34 pri.okanaganbettas.com~
    -rw-r--r-- 1 named named 708 Aug 18 2005 pri.thecitygirls.com~
    drwxrwx--- 2 named named 4096 Jul 27 2004 slaves
    -rw-r--r-- 1 root root 316 Jun 1 11:41 stricklerins.net.hosts
    -rw-r--r-- 1 root root 307 May 30 13:26 westernallianceins.com.hosts


    Any help would be great. Thank you
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you setup your server according to one of the perfect setup guides? If yes, check all the steps for the bind inszallation again.

    Then check if the BIND directory in ISPConfig is set correct under management > server > settings.
     
  5. adamluz

    adamluz New Member

    yes I did setup using the perfect guide. After spending a few hours on these forums yesterday, I found that altering every single DNS records on each domain using ispconfig will restore the system. My problem has been solved. Thank You
     

Share This Page