Web Hosting Talk







View Full Version : Nameserver Question (Adding Servers)


H-U.net
07-02-2003, 11:25 PM
Hi,

I'll make this short and sweet.

We have a domain, server.com

Nameservers are ns1.server.com and ns2.server.com

Now we are adding a new server: can we use ns3.server.com and ns4.server.com?

Is it just a case of building nameservers again with 2 IP's?

Thanks

Kevin

aaBBaa
07-17-2003, 05:45 PM
Hi H-U.net,

Yes, all you need to do is assign 2 more IPs to your new server, enable bind on that server, and setup a trust relationship by making the first server a master and the 2nd server a secondary.

Actually, it might be wiser to just remove the current ns2.server.com from the 1st server and assign it to the 2nd server - since there is absolutely no reason under the sun to have 2 hostnames on 1 server like ns1 and ns2 - its completely an unnecessary waste of 2 IPs, and adds the big headache of having to edit all your current domains that are pointing to just ns1/ns2 and have to make them point now to ns1/ns2/ns3/ns4.

So in summary, to setup your second server as a secondary DNS server:

1) remove ns2.server.com from your 1st server, as well as ns2's IP if both servers are on the same network.

2) Assign the ns2 hostname (and IP if on same network) to the 2nd server

3) Setup a trust relationship (With WHM/CPanel its very easy, check out the DNS options in your WHM)

4) No need to change now any of your domains, since they are all already pointing to ns1/ns2, they will automatically begin using the new DNS server (as opposed to if you add ns3 and ns4 you would then have to edit all of your domains and add ns3 and ns4 to them).


I hope this may have been of any assistance.



Regards,
Jeff
Jeff@aaBBaa.com

Eric Lim
07-17-2003, 07:55 PM
If you do not want them to have relationship, master or slave, simply have two A records hold the name in the second server.

Go to your first server, add a 2 A records for the new NS you added and 1 A record for the hostname you have on your second server.

H-U.net
07-18-2003, 11:47 PM
Thanks for the replies.

Very helpful - thank you :)

Kevin