I registered a domain for a client, but entered a wrong primairy DNS server at the registrars records, the secondairy was correct.
All zonefiles were correct setup on the primairy same for the SOA.
After a day orso the domain could be reached, no problems, but suddenly my customers started complaining the server was down (he could not reach his site), i started looking and found out i could not reach it eigther, and then found out about the primairy mistake.
My question; if the secondairy is right there should be no problem reaching the site, or am i wrong about this?
If i'm wrong, why did the problems started after two days instead of right away?
Yep your wrong, it depends on which of the DNS servers it gets it's data from to point to your server.
For a great example of this go to DNSstuff.com and enter your name servers a few time and it will give you the full path and all the places goes to get the information for your server. Do this over a few day at differing times.
Sometimes it will query your primary first sometimes it will query your secondary to get your primary, I have no explantaion why but it does.
It seems like if the "wrong primary DNS server" was a real DNS server, and when queried returned a negative result, that the negative result would be accepted as authoritative.
Only if the "wrong primary DNS server" didn't respond at all, would your resolver move on to the secondary DNS server.
-Mark Adams www.bitserve.com - Secure Michigan web hosting for your business.
Only host still offering a full money back uptime guarantee and prorated refunds.
Offering advanced server management and security incident response!