Web Hosting Talk







View Full Version : dns


babak
07-18-2002, 05:36 PM
Hi

Let say that I have:

ns1.domain.com and ns2.domain.com on server 1
ns3.domain.com and ns4.domain.com on server 2


if server 1 is down will sites on server 2 still avaibale?

TNX.
Regards,
babak

jks
07-18-2002, 06:37 PM
Originally posted by babak
Hi

Let say that I have:

ns1.domain.com and ns2.domain.com on server 1
ns3.domain.com and ns4.domain.com on server 2


if server 1 is down will sites on server 2 still avaibale?

TNX.
Regards,
babak

That depends on how you delegated the domains and set the zones up.

If you delegated the domains to ns1, ns2, ns3 and ns4 - and you have all the zones on all servers - then yes the sites would still be available.

babak
07-18-2002, 06:46 PM
tnx for you replay.


no,

ns1 and ns2 are on server 1 and for example1.com i use ns1 and ns2 in SOA.


ns3 and ns4 are on server2 and for example2.com I use ns3 and ns4 in SOA


so actually A-records of example2.com are only in server2.


if server1 is down there wil be no working ns3 and ns4 on server2, because you set ns3 and ns4 as A-records in server1.

Correct?

jks
07-18-2002, 06:51 PM
Originally posted by babak
tnx for you replay.


no,

ns1 and ns2 are on server 1 and for example1.com i use ns1 and ns2 in SOA.


ns3 and ns4 are on server2 and for example2.com I use ns3 and ns4 in SOA


so actually A-records of example2.com are only in server2.


if server1 is down there wil be no working ns3 and ns4 on server2, because you set ns3 and ns4 as A-records in server1.

Correct?

Then redo your configuration!

babak
07-18-2002, 06:57 PM
I didnt do this yet. But I just have my second server for a few days and I am thinking of will there a difrend if I use ns3 and ns4 on the second server? Or is it beter to have al my DNS on just one server( server1)?

jks
07-18-2002, 07:02 PM
Originally posted by babak
I didnt do this yet. But I just have my second server for a few days and I am thinking of will there a difrend if I use ns3 and ns4 on the second server? Or is it beter to have al my DNS on just one server( server1)?

Okay, then - this is how to set it up.


1) Do NOT create ns3 and ns4.

2) Create a named.conf (or what daemon you choose) on the new server, and set it up to slave all the zones from the ns1.

3) Change the A-record for ns2 to point to the IP of the new server.

And that's it.