why do the results of a DNS lookup flip back and forth?

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by silver » Tue Sep 27, 2011 5:03 pm
Hi,

I am trying to diagnose why access to my website is failing on Sonic.net. When I run this line from the command prompt:

Code: Select all

dig @ns1.sonic.net NS scruffapp.com
50% of the time it will correctly return this value:

Code: Select all

;; ANSWER SECTION:
scruffapp.com.		2232	IN	NS	pdns02.domaincontrol.com.
scruffapp.com.		2232	IN	NS	pdns01.domaincontrol.com.
And 50% of the time it will incorrectly return this old value:

Code: Select all

;; ANSWER SECTION:
scruffapp.com.		2763	IN	NS	ns49.domaincontrol.com.
scruffapp.com.		2763	IN	NS	ns50.domaincontrol.com.
I get that DNS records are cached, but in this case the DNS record seems to be flipping back and forth between old and new. Why is that?

Thanks,
-Eric
by augie » Wed Sep 28, 2011 4:53 pm
ns1.sonic.net is a cluster of servers which may explain why you see different results.

When I query for your domains I see completely different results from what you show above:


augie@augnix:~$ dig @ns1.sonic.net NS scruffapp.com +short
ns-159.awsdns-19.com.
ns-541.awsdns-03.net.
ns-1372.awsdns-43.org.
ns-1967.awsdns-53.co.uk.

Which would indicate to me that you are moving name servers around. If you are moving name servers around, then I expect things to be a bit wobbly until all the caches clear and things settle down.

--Augie
2 posts Page 1 of 1

Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 20 guests