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.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 14th September 2006, 00:55
bpmee bpmee is offline
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


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, 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, 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, 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 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:

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


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 20:48
ISPconfig to host multiple domains in one IP with multiple DynDns addresses agelospanagiotakis Installation/Configuration 23 2nd April 2008 12:10
Server setup for Web Purposes with custom Firewall ramangill Installation/Configuration 22 8th February 2006 23:43
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 12:50

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

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