Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th September 2006, 23:55
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Smile DNS: Multiple IPs, want to setup a "private" nameserver on each IP for resellers

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... 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!
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2006, 20:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's in /etc/named.conf? What's the value of server_bind_zonefiles_dir in the isp_server table in the ISPConfig database?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th September 2006, 23:06
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Lightbulb 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
Quote:
"doc_id","doctype_id","server_host","server_domain ","server_ip","server_netzmaske","server_sprache", "server_db_type","server_db_user","server_db_passw ort","server_path_httpd_conf","server_path_httpd_r oot","server_httpd_user","server_httpd_group","ser ver_path_frontpage","server_path_httpd_error","ser ver_name","server_mta","server_sendmail_virtuser_d atei","server_sendmail_cw","server_ftp_typ","serve r_proftpd_conf_datei","server_proftpd_log","server _bind_user","server_bind_group","server_bind_named _conf","server_bind_zonefile_dir","userid_von","gr oupid_von","passwd_datei","group_datei","server_ip liste","shadow_datei","server_bind_ns1_default","s erver_bind_ns2_default","server_path_httpd_log","s erver_soap_ip","server_soap_port","server_soap_enc oding","server_admin_email","server_bind_standard_ mx","server_bind_adminmail_default","server_mail_l og_save","server_ftp_log_save","server_httpd_suexe c","dist","dist_init_scripts","dist_runlevel","dis t_smrsh","dist_shells","dist_bind_init_script","di st_bind_pidfile","dist_bind_hintfile","dist_bind_l ocalfile","dist_cron_daemon","dist_cron_tab","dist _mysql_group","dist_httpd_daemon","dist_pop3","dis t_pop3_version","dist_ftp_version","dist_httpd_con f","dist_mail_log","use_maildir","virusadmin","spa mfilter_enable","server_enable_frontpage","client_ salutatory_email_sender_email","client_salutatory_ email_sender_name","client_salutatory_email_bcc"," client_salutatory_email_subject","client_salutator y_email_message","res_salutatory_email_sender_emai l","res_salutatory_email_sender_name","res_salutat ory_email_bcc","res_salutatory_email_subject","res _salutatory_email_message","standard_index","user_ standard_index","traffic_suspension_sender_email", "traffic_suspension_sender_name","traffic_suspensi on_email_bcc","traffic_suspension_email_subject"," traffic_suspension_email_message","traffic_notific ation_sender_email","traffic_notification_sender_n ame","traffic_notification_email_bcc","traffic_not ification_email_subject","traffic_notification_ema il_message","res_traffic_suspension_sender_email", "res_traffic_suspension_sender_name","res_traffic_ suspension_email_bcc","res_traffic_suspension_emai l_subject","res_traffic_suspension_email_message", "res_traffic_notification_sender_email","res_traff ic_notification_sender_name","res_traffic_notifica tion_email_bcc","res_traffic_notification_email_su bject","res_traffic_notification_email_message"
"1","1010","mazdarx8","gambleid.com","64.151.124.2 7","255.255.255.0","de","mysql",,,"/etc/httpd/conf","/var/www","apache","apache","/usr/local/frontpage/version5.0/bin/owsadm.exe","/var/www/error","Blade Dual Xeon 1","postfix","/etc/postfix/virtusertable","/etc/postfix/local-host-names","proftpd","/etc/proftpd.conf","/var/log/xferlog","named","named","/etc/named.conf","/var/named/chroot/var/named","10000","10000","/etc/passwd","/etc/group","64.151.124.28
64.151.124.29
64.151.124.30
64.151.124.31
208.96.2.164
208.96.2.166
208.96.2.168
208.96.2.175
208.96.2.176
64.151.120.244
64.151.120.245
64.151.120.246
64.151.120.247
64.151.120.248 ","/etc/shadow","ns1.gambleid.com","ns2.gambleid.com","/var/log/httpd/ispconfig_access_log",,,,"root@localhost","1","roo t@localhost","0","0","0","fedora50","/etc/rc.d/init.d","/etc/rc.d","/etc/smrsh","/etc/shells","named","/var/named/chroot/var/run/named/named.pid","named.ca","named.local","crond","/var/spool/cron/root","mysql","httpd",,,"standalone","/etc/httpd/conf/httpd.conf","/var/log/maillog","1","admispconfig@localhost","1","0",NULL ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL ,NULL
Reply With Quote
  #4  
Old 15th September 2006, 20:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is there a zone reseller1.com in your named.conf?
What's the output of
Code:
ls -la /var/named/chroot/var/named
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 15th September 2006, 21:25
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Question 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...
###
Reply With Quote
  #6  
Old 15th September 2006, 21:26
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Default

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?
Reply With Quote
  #7  
Old 16th September 2006, 23:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is there a zone reseller1.com in your named.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 17th September 2006, 04:12
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
Default 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!
Reply With Quote
  #9  
Old 17th September 2006, 09:35
bpmee bpmee is offline
Member
 
Join Date: Aug 2006
Posts: 86
Thanks: 3
Thanked 7 Times in 6 Posts
 
Default 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/bi.../msg00053.html
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Segment Router Setup - Not forwarding Packets jkane1517 Server Operation 4 3rd August 2010 19:48
ISPconfig to host multiple domains in one IP with multiple DynDns addresses agelospanagiotakis Installation/Configuration 23 2nd April 2008 11:10
Server setup for Web Purposes with custom Firewall ramangill Installation/Configuration 22 8th February 2006 22:43
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 11:50


All times are GMT +2. The time now is 02:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.