|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
setting up a second domain in BIND
Hey, I set up my first domain now I want to set up a second domain in BIND. I have the domain's name server set up as the original domain's name server. Should I copy the zone file and change the info to be for the new domain or is there some other way to do it.
__________________
http://www.mirthika.com http://www.gameremix.com http://www.webdigits.net |
|
#2
|
||||
|
||||
|
Yes, but don't forget to edit your named.conf file to let it know about the new zone file and also restart your named.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#3
|
|||
|
|||
|
i went to services and restarted bind is that what you meant by restarting named or is there something else
is there some way i can test the domain to see that its working? and how can i make it so it uses ns1.originaldomain.com and not ns1.newdomain.com |
|
#4
|
||||
|
||||
|
>> i went to services and restarted bind is that what you meant by restarting named or is there something else
Yep, that's what I meant. >> is there some way i can test the domain to see that its working? You could tell us the domain name or use Silent Rage's DNS Query Tool: http://www.dollardns.net/cgi-bin/dnscrawler/index.pl |
|
#5
|
|||
|
|||
|
its trying to use the name server of the new domain instead of the original one. how can i fix it so it tries the original name server
the domain name is "jojonetwork.com" |
|
#6
|
||||
|
||||
|
Please post your config files for both your old and new domains here then.
http://homepages.tesco.net/~J.deBoy...r-dns-data.html |
|
#7
|
|||
|
|||
|
|
|
#8
|
||||
|
||||
|
Let me see if I understand you correctly. When you query jojonetwork.com, it says that the nameservers are ns1 and ns2.jojonetwork.com instead of ns1 and ns2.remixnetwork.com, correct?
In that case, you'll need to change these two lines: Code:
@ NS ns1 ; ns1.remixnetwork.com is a host for remixnetwork.com @ NS ns2 ; ns2.remixnetwork.com is a host for remixnetwork.com to Code:
@ NS ns1.remixnetwork.com. ; ns1.remixnetwork.com is a host for remixnetwork.com @ NS ns2.remixnetwork.com. ; ns2.remixnetwork.com is a host for remixnetwork.com Also, you can delete the two NS A record lines. Warning: I haven't tested this and I'm typing in a rush . |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > setting up a second domain in BIND |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|