DNS: Multiple IPs, want to setup a "private" nameserver on each IP for resellers

Discussion in 'Server Operation' started by bpmee, Sep 13, 2006.

  1. bpmee

    bpmee New Member

    Hi,

    I realize BIND and DNS can be difficult, so I am asking the forum to help me out on this one...:)

    I'm on Fedora Core 4 Linux

    Here is what I have done so far:

    1. Main IP, 123.1.1.1 is setup in ISPconfig and ifcfgeth0
    2. This IP is a nameserver, with domain: www.mymaindomain.com , for example I use ns1.mymaindomain.com for domain installation on this specific IP, which is the "admin" or root user.
    3. Second IP, 123.1.1.2 is setup in ISPconfig and aliased as ifcfgeth0:0.
    4. This IP is a nameserver, with domain: www.mymaindomain.com (same domain as above), for example using ns2.mymaindomain.com.

    5. All my other IPS, 123.1.1.5-15 have been added to ISPconfig and each one has an alias in ifcfg as ifcfgeth0:0, ifcfgeth0:1, :2 :3 ....etc

    6. I can Ping each IP successfully, including the ones without nameservers.

    7. I went to ISPConfig and made a few new resellers and clients. I then added the main reseller site as starting point, for example: Reseller 1 - Client Smith - Site: www.reseller1.com . I then created several additional websites under this reseller and client. I assigned www.reseller1.com domain and the other domains the same IP in ISPconfig.

    8. Here is where I have lost my way: Now, I want to setup Reseller 1 with its own nameserver, ie. ns1.reseller1.com using the main reseller domain, www.reseller1.com.

    9. So, I went to the ISPconfig entry for www.reseller1.com and added an "A" record for "ns1", keeping in mind that the main entry, "www" has already been added by ISPconfig.

    10. Finally, I went to the DNS manager and assigned www.reseller1.com two nameservers: ns1.reseller1.com , and ns2.mymaindomain.com - the second nameserver of the main "admin" domain on the server.

    11. Then, I went to my registrar and for the domain www.reseller1.com I added ns1.reseller1.com as the first nameserver with IP 123.1.1.5 and ns2.mymaindomain.com .

    12. I repeated these steps for a few other resellers. Now BIND has crashed! When I attempt to reboot NAMED, I get the following error for almost all the domains and reseller main domains I installed:

    Code:
    Starting named:
    Error in named configuration:
    zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    zone 124.151.64.in-addr.arpa/IN: loaded serial 2006091302
    zone 120.151.64.in-addr.arpa/IN: loaded serial 2006091301
    zone 2.96.208.in-addr.arpa/IN: loaded serial 2006091302
    zone mymaindomain.com/IN: loaded serial 2006081603
    
    ##...other reseller domains withsame result as my main domain...
    
    ##.. and then a long list of the following errors:
    
    zone reseller1.com /IN: loading master file pri.reseller1.com : not a valid number
    _default/reseller1.com/IN: not a valid number
    
    zone reseller1site1.com /IN: loading master file pri.reseller1site1.com : not a valid number
    _default/reseller1site1.com/IN: not a valid number
    
    Any thoughts? I am completely baffled...:confused: Is there a tutorial for setting up private nameservers for each reseller main domain, and then adding additional domains under the reseller with the reseller's private nameservers???

    Thanks in advance for your help!
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's in /etc/named.conf? What's the value of server_bind_zonefiles_dir in the isp_server table in the ISPConfig database?
     
  3. bpmee

    bpmee New Member

    Named Content, etc.

    Hi Falko,

    Thanks for your reply!

    Here is the content of /etc/named.conf:

    Code:
    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
             ...
             */
            // 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 "124.151.64.in-addr.arpa" {
            type master;
            file "pri.124.151.64.in-addr.arpa";
    };
    zone "120.151.64.in-addr.arpa" {
            type master;
            file "pri.120.151.64.in-addr.arpa";
    };
    zone "2.96.208.in-addr.arpa" {
            type master;
            file "pri.2.96.208.in-addr.arpa";
    };
    
    
    zone "gambleid.com" {
            type master;
            file "pri.gambleid.com";
    };
    zone "06412info.info" {
            type master;
            file "pri.06412info.info";
    };
    zone "123freeblogs.info" {
            type master;
            file "pri.123freeblogs.info";
    
    ##
    ## ETC
    ##
    
    
    //// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
    
    
    From the table: server_bind_zonefiles_dir , as CSV for Excel
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is there a zone reseller1.com in your named.conf?
    What's the output of
    Code:
    ls -la /var/named/chroot/var/named
    ?
     
  5. bpmee

    bpmee New Member

    Here's the output....

    Hi Falko,

    Here's the output of the command you supplied:

    Code:
    [root@mazdarx8 ~]# ls -la /var/named/chroot/var/named
    total 920
    drwxr-x--- 4 root  named 12288 Sep 13 17:51 .
    drwxr-x--- 5 root  named  4096 Mar 13  2003 ..
    lrwxrwxrwx 1 root  named     6 Aug 16 07:11 chroot -> ../../
    drwxrwx--- 2 named named  4096 Aug 25  2004 data
    -rw-r----- 1 root  named   198 Mar  8  2006 localdomain.zone
    -rw-r----- 1 root  named   195 Mar  8  2006 localhost.zone
    -rw-r----- 1 root  named   427 Mar  8  2006 named.broadcast
    -rw-r----- 1 root  named  2518 Sep 13 14:00 named.ca
    -rw-r----- 1 root  named   424 Mar  8  2006 named.ip6.local
    -rw-r----- 1 root  named   426 Mar  8  2006 named.local
    -rw-r----- 1 root  named   427 Mar  8  2006 named.zero
    -rw-r----- 1 root  named   757 Aug 21 23:40 pri.06412info.info
    -rw-r----- 1 root  named   756 Aug 21 23:40 pri.06412info.info~
    -rw-r----- 1 named named  3562 Sep 13 00:49 pri.120.151.64.in-addr.arpa
    -rw-r----- 1 named named  3484 Sep 13 00:49 pri.120.151.64.in-addr.arpa~
    -rw-r--r-- 1 named named   741 Sep 13 00:49 pri.123freeblogs.info
    -rw-r--r-- 1 named named   740 Sep 13 00:49 pri.123freeblogs.info~
    -rw-r--r-- 1 named named   778 Sep 13 00:14 pri.123thesite.info
    -rw-r--r-- 1 named named   766 Sep 13 00:14 pri.123thesite.info~
    -rw-r----- 1 named named  1039 Sep 13 00:49 pri.124.151.64.in-addr.arpa
    -rw-r----- 1 named named  1075 Sep 13 00:49 pri.124.151.64.in-addr.arpa~
    -rw-r--r-- 1 named named   778 Sep 13 00:35 pri.18r7webhosting.info
    -rw-r--r-- 1 named named   766 Sep 13 00:35 pri.18r7webhosting.info~
    -rw-r--r-- 1 named named   750 Sep 13 00:09 pri.1i43.info
    -rw-r--r-- 1 named named   746 Sep 13 00:09 pri.1i43.info~
    -rw-r----- 1 named named  5451 Sep 13 00:38 pri.2.96.208.in-addr.arpa
    -rw-r----- 1 named named  5453 Sep 13 00:38 pri.2.96.208.in-addr.arpa~
    -rw-r--r-- 1 named named   796 Sep 13 00:37 pri.29gabovetheearth.com
    -rw-r--r-- 1 named named   768 Sep 13 00:37 pri.29gabovetheearth.com~
    -rw-r--r-- 1 named named   767 Sep 13 00:20 pri.321gamblingexpress.info
    -rw-r--r-- 1 named named   773 Sep 13 00:20 pri.321gamblingexpress.info~
    -rw-r--r-- 1 named named   752 Sep 13 00:21 pri.324finance.info
    -rw-r--r-- 1 named named   758 Sep 13 00:21 pri.324finance.info~
    -rw-r--r-- 1 named named   739 Sep 13 00:21 pri.38er.info
    -rw-r--r-- 1 named named   745 Sep 13 00:21 pri.38er.info~
    -rw-r--r-- 1 named named   759 Sep 13 00:35 pri.38ru2.info
    -rw-r--r-- 1 named named   747 Sep 13 00:35 pri.38ru2.info~
    -rw-r--r-- 1 named named   763 Sep 13 00:45 pri.3924products.info
    -rw-r--r-- 1 named named   761 Sep 13 00:45 pri.3924products.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:26 pri.42895zipcode.info
    -rw-r--r-- 1 named named   765 Sep 13 00:26 pri.42895zipcode.info~
    -rw-r--r-- 1 named named   786 Sep 13 00:37 pri.428thatblog.com
    -rw-r--r-- 1 named named   758 Sep 13 00:37 pri.428thatblog.com~
    -rw-r--r-- 1 named named   769 Sep 13 00:32 pri.489ttheplace.info
    -rw-r--r-- 1 named named   760 Sep 13 00:32 pri.489ttheplace.info~
    -rw-r--r-- 1 named named   780 Sep 13 00:40 pri.4figsandanapple.com
    -rw-r--r-- 1 named named   769 Sep 13 00:40 pri.4figsandanapple.com~
    -rw-r--r-- 1 named named   784 Sep 13 00:27 pri.567creditcard.info
    -rw-r--r-- 1 named named   767 Sep 13 00:27 pri.567creditcard.info~
    -rw-r--r-- 1 named named   763 Sep 13 00:21 pri.5orangesandapples.com
    -rw-r--r-- 1 named named   769 Sep 13 00:21 pri.5orangesandapples.com~
    ## RSLR -rw-r----- 1 named named   753 Sep 13 13:00 pri.786lawyer.info
    ## RSLR -rw-r----- 1 named named   749 Sep 13 13:00 pri.786lawyer.info~
    ## RSLR -rw-r----- 1 named named   820 Sep 13 13:01 pri.879casinoaction.info
    ## RSLR -rw-r----- 1 named named   804 Sep 13 13:01 pri.879casinoaction.info~
    -rw-r--r-- 1 named named   776 Sep 13 00:35 pri.938paddyblogs.info
    -rw-r--r-- 1 named named   764 Sep 13 00:35 pri.938paddyblogs.info~
    -rw-r--r-- 1 named named   787 Sep 13 00:24 pri.9489onlinecasinogames.info
    -rw-r--r-- 1 named named   779 Sep 13 00:24 pri.9489onlinecasinogames.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:27 pri.985computers.info
    -rw-r--r-- 1 named named   765 Sep 13 00:27 pri.985computers.info~
    -rw-r--r-- 1 named named   774 Sep 13 00:40 pri.9dafthelawn.info
    -rw-r--r-- 1 named named   763 Sep 13 00:40 pri.9dafthelawn.info~
    ## RSLR -rw-r----- 1 named named   770 Sep 13 17:40 pri.a93d.info
    ## RSLR -rw-r----- 1 named named   776 Sep 13 13:01 pri.a93d.info~
    -rw-r--r-- 1 named named   757 Sep 13 00:42 pri.actiongambler.info
    -rw-r--r-- 1 named named   763 Sep 13 00:42 pri.actiongambler.info~
    -rw-r--r-- 1 named named   747 Sep 13 00:45 pri.ak4k.info
    -rw-r--r-- 1 named named   745 Sep 13 00:45 pri.ak4k.info~
    -rw-r--r-- 1 named named   795 Sep 13 00:39 pri.allaboutthewin.info
    -rw-r--r-- 1 named named   766 Sep 13 00:39 pri.allaboutthewin.info~
    -rw-r--r-- 1 named named   765 Sep 13 00:09 pri.asdfblogsite.info
    -rw-r--r-- 1 named named   761 Sep 13 00:09 pri.asdfblogsite.info~
    -rw-r--r-- 1 named named   769 Sep 13 00:33 pri.bangthatbeat.info
    -rw-r--r-- 1 named named   760 Sep 13 00:33 pri.bangthatbeat.info~
    -rw-r----- 1 named named   798 Sep 13 13:01 pri.bangthebeat.info
    -rw-r----- 1 named named   790 Sep 13 13:01 pri.bangthebeat.info~
    -rw-r--r-- 1 named named   784 Sep 13 00:31 pri.betactionblogs.info
    -rw-r--r-- 1 named named   769 Sep 13 00:31 pri.betactionblogs.info~
    ## RSLR -rw-r----- 1 named named   820 Sep 13 13:01 pri.blackjackaction.info
    ## RSLR -rw-r----- 1 named named   804 Sep 13 13:01 pri.blackjackaction.info~
    -rw-r--r-- 1 named named   778 Sep 13 00:24 pri.bladeupmarketing.info
    -rw-r--r-- 1 named named   770 Sep 13 00:24 pri.bladeupmarketing.info~
    -rw-r--r-- 1 named named   806 Sep 13 00:38 pri.blogosphereandromeda.info
    -rw-r--r-- 1 named named   778 Sep 13 00:38 pri.blogosphereandromeda.info~
    
    ###
    ### Rest of Code Continues in post below...
    ###
     
  6. bpmee

    bpmee New Member

    Code:
    -rw-r--r-- 1 named named   794 Sep 13 00:29 pri.blogospherescorpio.info
    -rw-r--r-- 1 named named   777 Sep 13 00:29 pri.blogospherescorpio.info~
    ## RSLR -rw-r----- 1 named named   820 Sep 13 13:01 pri.bobsthebestdude.info
    ## RSLR -rw-r----- 1 named named   804 Sep 13 13:01 pri.bobsthebestdude.info~
    -rw-r--r-- 1 named named   787 Sep 13 00:41 pri.brendanmeehanishot.info
    -rw-r--r-- 1 named named   776 Sep 13 00:41 pri.brendanmeehanishot.info~
    ## RSLR -rw-r----- 1 named named   816 Sep 13 13:02 pri.brendanpmeehan.info
    ## RSLR -rw-r----- 1 named named   802 Sep 13 13:02 pri.brendanpmeehan.info~
    -rw-r--r-- 1 named named   769 Sep 13 00:36 pri.bringit2me.info
    -rw-r--r-- 1 named named   757 Sep 13 00:36 pri.bringit2me.info~
    -rw-r--r-- 1 named named   768 Sep 13 00:33 pri.bringithere.info
    -rw-r--r-- 1 named named   759 Sep 13 00:33 pri.bringithere.info~
    ## RSLR -rw-r----- 1 named named   798 Sep 13 13:02 pri.checkthisin.info
    ## RSLR -rw-r----- 1 named named   790 Sep 13 13:02 pri.checkthisin.info~
    -rw-r--r-- 1 named named   796 Sep 13 00:38 pri.checkthisoutnow.info
    -rw-r--r-- 1 named named   768 Sep 13 00:38 pri.checkthisoutnow.info~
    -rw-r--r-- 1 named named   756 Sep 13 00:33 pri.dk023.info
    -rw-r--r-- 1 named named   747 Sep 13 00:33 pri.dk023.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:31 pri.droponoverbob.info
    -rw-r--r-- 1 named named   767 Sep 13 00:31 pri.droponoverbob.info~
    -rw-r--r-- 1 named named   769 Sep 13 00:10 pri.freeblognation.info
    -rw-r--r-- 1 named named   765 Sep 13 00:10 pri.freeblognation.info~
    ## Main Site -rw-r----- 1 root  named   835 Sep 13 17:42 pri.gambleid.com
    ## Main Site -rw-r----- 1 root  named   750 Aug 16 17:45 pri.gambleid.com~
    -rw-r--r-- 1 named named   777 Sep 13 00:27 pri.gregsblogs.info
    -rw-r--r-- 1 named named   760 Sep 13 00:27 pri.gregsblogs.info~
    -rw-r--r-- 1 named named   785 Sep 13 00:31 pri.heywhatsthehaps.info
    -rw-r--r-- 1 named named   770 Sep 13 00:31 pri.heywhatsthehaps.info~
    -rw-r--r-- 1 named named   750 Sep 13 00:43 pri.intheclub.info
    -rw-r--r-- 1 named named   756 Sep 13 00:43 pri.intheclub.info~
    ## RSLR -rw-r--r-- 1 named named   762 Sep 13 00:45 pri.ithinkiknow.info
    ## RSLR -rw-r--r-- 1 named named   760 Sep 13 00:45 pri.ithinkiknow.info~
    -rw-r----- 1 named named   809 Sep 13 13:02 pri.ithinkyouknow.info
    -rw-r----- 1 named named   797 Sep 13 13:02 pri.ithinkyouknow.info~
    -rw-r--r-- 1 named named   780 Sep 13 00:25 pri.itsallgoodandmore.info
    -rw-r--r-- 1 named named   772 Sep 13 00:25 pri.itsallgoodandmore.info~
    -rw-r--r-- 1 named named   757 Sep 13 00:43 pri.justablogsite.info
    -rw-r--r-- 1 named named   763 Sep 13 00:43 pri.justablogsite.info~
    -rw-r--r-- 1 named named   757 Sep 13 00:25 pri.kfa89q.info
    -rw-r--r-- 1 named named   749 Sep 13 00:25 pri.kfa89q.info~
    -rw-r--r-- 1 named named   768 Sep 13 00:19 pri.kl3rf.info
    -rw-r--r-- 1 named named   751 Sep 13 00:19 pri.kl3rf.info~
    -rw-r--r-- 1 named named   790 Sep 13 00:20 pri.localnewsandmore.info
    -rw-r--r-- 1 named named   773 Sep 13 00:20 pri.localnewsandmore.info~
    -rw-r--r-- 1 named named   756 Sep 13 00:34 pri.mai2a.info
    -rw-r--r-- 1 named named   747 Sep 13 00:34 pri.mai2a.info~
    -rw-r--r-- 1 named named   771 Sep 13 00:26 pri.moresitesforme.com
    -rw-r--r-- 1 named named   763 Sep 13 00:26 pri.moresitesforme.com~
    -rw-r--r-- 1 named named   781 Sep 13 00:28 pri.myblognation.info
    -rw-r--r-- 1 named named   764 Sep 13 00:28 pri.myblognation.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:41 pri.newfangledblogs.info
    -rw-r--r-- 1 named named   771 Sep 13 00:41 pri.newfangledblogs.info~
    -rw-r--r-- 1 named named   778 Sep 13 00:41 pri.nicebrownhair.info
    -rw-r--r-- 1 named named   767 Sep 13 00:41 pri.nicebrownhair.info~
    -rw-r--r-- 1 named named   774 Sep 13 00:38 pri.oe4d.info
    -rw-r--r-- 1 named named   746 Sep 13 00:38 pri.oe4d.info~
    -rw-r--r-- 1 named named   760 Sep 13 00:42 pri.of93.info
    -rw-r--r-- 1 named named   749 Sep 13 00:42 pri.of93.info~
    -rw-r--r-- 1 named named   785 Sep 13 00:36 pri.onlinelibraryspace.info
    -rw-r--r-- 1 named named   773 Sep 13 00:36 pri.onlinelibraryspace.info~
    ## RSLR -rw-r----- 1 named named   841 Sep 13 13:03 pri.oreganoisthebestspice.info
    ## RSLR -rw-r----- 1 named named   813 Sep 13 13:03 pri.oreganoisthebestspice.info~
    -rw-r--r-- 1 named named   748 Sep 13 00:46 pri.p39t.info
    -rw-r--r-- 1 named named   746 Sep 13 00:46 pri.p39t.info~
    -rw-r--r-- 1 named named   762 Sep 13 00:43 pri.paprikaontheway.info
    -rw-r--r-- 1 named named   768 Sep 13 00:43 pri.paprikaontheway.info~
    -rw-r--r-- 1 named named   758 Sep 13 00:23 pri.passitthisway.info
    -rw-r--r-- 1 named named   764 Sep 13 00:23 pri.passitthisway.info~
    -rw-r--r-- 1 named named   756 Sep 13 00:44 pri.passthesugar.info
    -rw-r--r-- 1 named named   762 Sep 13 00:44 pri.passthesugar.info~
    -rw-r--r-- 1 named named   761 Sep 13 00:24 pri.pokeractionblog.info
    -rw-r--r-- 1 named named   767 Sep 13 00:24 pri.pokeractionblog.info~
    -rw-r--r-- 1 named named   764 Sep 13 00:26 pri.popopouri.info
    -rw-r--r-- 1 named named   756 Sep 13 00:26 pri.popopouri.info~
    -rw-r--r-- 1 named named   774 Sep 13 00:34 pri.prettyblueeyes.info
    -rw-r--r-- 1 named named   765 Sep 13 00:34 pri.prettyblueeyes.info~
    -rw-r--r-- 1 named named   788 Sep 13 00:29 pri.samisthebestguy.info
    -rw-r--r-- 1 named named   771 Sep 13 00:29 pri.samisthebestguy.info~
    -rw-r--r-- 1 named named   765 Sep 13 00:24 pri.singleandlovingit.info
    -rw-r--r-- 1 named named   771 Sep 13 00:24 pri.singleandlovingit.info~
    -rw-r--r-- 1 named named   779 Sep 13 00:31 pri.sneakycatnap.info
    -rw-r--r-- 1 named named   764 Sep 13 00:31 pri.sneakycatnap.info~
    -rw-r--r-- 1 named named   781 Sep 13 00:20 pri.sneakydognap.info
    -rw-r--r-- 1 named named   764 Sep 13 00:20 pri.sneakydognap.info~
    -rw-r--r-- 1 named named   752 Sep 13 00:24 pri.startitall.info
    -rw-r--r-- 1 named named   758 Sep 13 00:24 pri.startitall.info~
    -rw-r--r-- 1 named named   792 Sep 13 00:29 pri.startthepartyhere.info
    -rw-r--r-- 1 named named   775 Sep 13 00:29 pri.startthepartyhere.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:30 pri.starttherush.info
    -rw-r--r-- 1 named named   765 Sep 13 00:30 pri.starttherush.info~
    -rw-r--r-- 1 named named   759 Sep 13 00:46 pri.stevesblogs.com
    -rw-r--r-- 1 named named   757 Sep 13 00:46 pri.stevesblogs.com~
    -rw-r--r-- 1 named named   784 Sep 13 00:31 pri.takecontrol4me.info
    -rw-r--r-- 1 named named   769 Sep 13 00:31 pri.takecontrol4me.info~
    -rw-r--r-- 1 named named   764 Sep 13 00:44 pri.theblademarketer.info
    -rw-r--r-- 1 named named   770 Sep 13 00:44 pri.theblademarketer.info~
    -rw-r--r-- 1 named named   753 Sep 13 00:44 pri.theblogbeat.info
    -rw-r--r-- 1 named named   759 Sep 13 00:44 pri.theblogbeat.info~
    -rw-r--r-- 1 named named   780 Sep 13 00:47 pri.thechallengedgambler.info
    -rw-r--r-- 1 named named   778 Sep 13 00:47 pri.thechallengedgambler.info~
    -rw-r--r-- 1 named named   775 Sep 13 00:10 pri.thechestergazette.info
    -rw-r--r-- 1 named named   771 Sep 13 00:10 pri.thechestergazette.info~
    -rw-r--r-- 1 named named   792 Sep 13 00:42 pri.theinternetlibrarian.info
    -rw-r--r-- 1 named named   781 Sep 13 00:42 pri.theinternetlibrarian.info~
    -rw-r--r-- 1 named named   772 Sep 13 00:10 pri.thesavvygambler.info
    -rw-r--r-- 1 named named   768 Sep 13 00:10 pri.thesavvygambler.info~
    -rw-r--r-- 1 named named   797 Sep 13 00:38 pri.thesitethatrocks.info
    -rw-r--r-- 1 named named   769 Sep 13 00:38 pri.thesitethatrocks.info~
    -rw-r--r-- 1 named named   768 Sep 13 00:36 pri.thiswayis.info
    -rw-r--r-- 1 named named   756 Sep 13 00:36 pri.thiswayis.info~
    ## RSLR -rw-r----- 1 named named   808 Sep 13 13:03 pri.timetorockon.info
    ## RSLR -rw-r----- 1 named named   798 Sep 13 13:03 pri.timetorockon.info~
    -rw-r--r-- 1 named named   789 Sep 13 00:31 pri.tpmgblademaketing.info
    -rw-r--r-- 1 named named   774 Sep 13 00:31 pri.tpmgblademaketing.info~
    -rw-r--r-- 1 named named   765 Sep 13 00:10 pri.tryandbeatme.info
    -rw-r--r-- 1 named named   761 Sep 13 00:10 pri.tryandbeatme.info~
    -rw-r--r-- 1 named named   782 Sep 13 00:31 pri.verysmartdude.info
    -rw-r--r-- 1 named named   767 Sep 13 00:31 pri.verysmartdude.info~
    ## RSLR -rw-r----- 1 named named   770 Sep 13 13:04 pri.vmal.info
    ## RSLR -rw-r----- 1 named named   776 Sep 13 13:04 pri.vmal.info~
    ## RSLR -rw-r----- 1 named named   786 Sep 13 13:04 pri.wertblogs.com
    ## RSLR -rw-r----- 1 named named   784 Sep 13 13:04 pri.wertblogs.com~
    -rw-r--r-- 1 named named   756 Sep 13 00:44 pri.whatsthehaps.info
    -rw-r--r-- 1 named named   762 Sep 13 00:44 pri.whatsthehaps.info~
    -rw-r--r-- 1 named named   760 Sep 13 00:24 pri.windowspsbeyond.com
    -rw-r--r-- 1 named named   766 Sep 13 00:24 pri.windowspsbeyond.com~
    -rw-r--r-- 1 named named   791 Sep 13 00:38 pri.youcantbeatme.info
    -rw-r--r-- 1 named named   763 Sep 13 00:38 pri.youcantbeatme.info~
    -rw-r--r-- 1 named named   756 Sep 13 00:44 pri.zigzagaround.info
    -rw-r--r-- 1 named named   762 Sep 13 00:44 pri.zigzagaround.info~
    -rw-r--r-- 1 named named   777 Sep 13 00:28 pri.zigzagsite.info
    -rw-r--r-- 1 named named   760 Sep 13 00:28 pri.zigzagsite.info~
    -rw-r--r-- 1 named named   779 Sep 13 00:30 pri.zxcvthesite.info
    -rw-r--r-- 1 named named   762 Sep 13 00:30 pri.zxcvthesite.info~
    drwxrwx--- 2 named named  4096 Jul 27  2004 slaves
    
    
    NOTE: I added the ## RSLR and ## Main Domain syntax to indicate Reseller accounts and the First domain I installed in the system.

    All of my resellers appear in this output... So I'm not sure what is going on?
    :confused:
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is there a zone reseller1.com in your named.conf?
     
  8. bpmee

    bpmee New Member

    Yes, all resellers are listed in named.conf

    Hi Falko,

    Just a note, I used "reseller1.com" as an alias when I initially posted my about my troubles with DNS.

    "reseller1.com" = ithinkyouknow.info in my named.conf file, which is present.
    Code:
    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 "124.151.64.in-addr.arpa" {
            type master;
            file "pri.124.151.64.in-addr.arpa";
    };
    zone "120.151.64.in-addr.arpa" {
            type master;
            file "pri.120.151.64.in-addr.arpa";
    };
    zone "2.96.208.in-addr.arpa" {
            type master;
            file "pri.2.96.208.in-addr.arpa";
    };
    
    
    zone "gambleid.com" {
            type master;
            file "pri.gambleid.com";
    };
    zone "06412info.info" {
            type master;
            file "pri.06412info.info";
    };
    zone "123freeblogs.info" {
            type master;
            file "pri.123freeblogs.info";
    };
    zone "ithinkyouknow.info" {
            type master;
            file "pri.ithinkyouknow.info";
    };
    zone "oreganoisthebestspice.info" {
            type master;
            file "pri.oreganoisthebestspice.info";
    };
    zone "786lawyer.info" {
            type master;
            file "pri.786lawyer.info";
    };
    zone "checkthisin.info" {
            type master;
            file "pri.checkthisin.info";
    };
    zone "bangthebeat.info" {
            type master;
            file "pri.bangthebeat.info";
    };
    zone "wertblogs.com" {
            type master;
            file "pri.wertblogs.com";
    };
    zone "a93d.info" {
            type master;
            file "pri.a93d.info";
    };
    zone "vmal.info" {
            type master;
            file "pri.vmal.info";
    };
    zone "brendanpmeehan.info" {
            type master;
            file "pri.brendanpmeehan.info";
    };
    zone "blackjackaction.info" {
            type master;
            file "pri.blackjackaction.info";
    };
    zone "timetorockon.info" {
            type master;
            file "pri.timetorockon.info";
    };
    zone "879casinoaction.info" {
            type master;
            file "pri.879casinoaction.info";
    };
    zone "bobsthebestdude.info" {
            type master;
            file "pri.bobsthebestdude.info";
    };
    zone "bringit2me.info" {
            type master;
            file "pri.bringit2me.info";
    };
    
    ## ETC other non reseller domains
    
    Thanks for your continued help!
     
  9. bpmee

    bpmee New Member

    I Found the Solution!!!!!!!

    :)
    Found it....

    So simple a mistake, yet damaging to BIND...

    When I was entering each of my domain names into ISPconfig, I was copying/pasting them from a list.

    On some of the entries I copied/pasted, there was an extra white space following the domain extension, as in "123mydomain.com " <-- Notice the space between the "m" and final " .

    As a result, when the zone files were written, the extra space appeared in the initial lines of the zone file, right where the SOA (Start of Authority) record begins.

    This extra space pushed the "." following the email of the domain over to the right one space, which messed up BIND when it loaded.

    Example:
    Code:
    $TTL        86400
    @       IN      SOA     ns1.abc.ie. admin.site.ie . (
                            2006091301       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    
    
    See the space in between the "e" and the "." just before the "(" of the SOA record?

    It took me some time to figure this out, in part because for many of my other domains, the serials and SOA were loading correctly. This was because I did not include extra white space during the copy/paste procedure.

    The above example should be:

    Code:
    $TTL        86400
    @       IN      SOA     ns1.abc.ie. admin.site.ie. (
                            2006091301       ; serial, todays date + todays serial #
                            28800              ; refresh, seconds
                            7200              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    
    
    Thanks for your support Falko, I was able to hone in on the problem.

    Here is where I was able to find the hints to figure this out:
    http://www.linuxarkivet.se/mlists/bind-users/0308/msg00053.html
     

Share This Page