Portal Home > Knowledgebase > Articles Database > ns1 vs ns2 setup on different DNS


ns1 vs ns2 setup on different DNS




Posted by olddocks, 05-24-2008, 05:46 PM
i am currently experimenting DNS with my 2 ips (each with separate servers spread over 2 geographic locations) and my zone file maps these IPs to ns1.domain.com and ns2.domain.com. Both of my servers run DNS and with zone entry for my domain name. But when i stop the dns server on first IP (ns1) the second dns server (ip2) not working or resolving. Both are master servers. My question is if first server DNS fails, the second DNS should resolve? why it is not working. i guess that is reason why domain registrars ask for 2 name servers. if one fails other works as backup?? how do i setup these? should i setup a slave or something?

Posted by olddocks, 05-24-2008, 06:07 PM
Further dnsreport shows as lame nameserver. how to fix this?

Posted by Ivan23, 05-25-2008, 02:06 AM
webhostinggear.com is your answer.

Posted by apollo, 05-25-2008, 03:11 AM
Of course the second server should be working without problems if you stop the first server. What software are you using? Are you using one DB for both servers in case you are running mysql based DNS service and sharing one database between hosts and when one of the hosts goes down, the second can't connect to mysql and will not return queries? Play around with dig utility - it will help debugging your problem.

Posted by olddocks, 05-25-2008, 05:43 AM
is it a must that 2 nameserver ips running on same server? i am using 1 nameserver ip on one dns server and other (ns2) on other dns server? confused::

Posted by gnusys, 05-25-2008, 12:04 PM
It is the nameserver you have provided while registering the domain that matters.Check whois for the domain and confirm you have both the nameservers listed and if yes if the primary fail ; the name should be resolved from secondary Lame nameservers are caused if the data given at the parent nameserver (ie while registering the domain) does not match with that you provided in the domains zone file. Another indicator of what might be your first problem! As for requirement of 2 diffrent nameservers. The DNS RFC specifies that every zone must have at least 2 geographically seperated nameservers inoder to avoid a single point of failure.But having both on the same server is very very! common eventhough this is not the recommended setting



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
syn flood - help (Views: 482)