How Long for DNS to Update New Records? Understanding DNS Behavior

domain-name-systemwebsite

I had my personal site at freehostia and now i have shifted to some other server. It has been close to a week, and ofcourse as the NameServers changed for the new host, i made the required changes with domain-register-company, for my domain.

Now when i try open to my site, at times it open the new hosted-site, at times it open the 404 page on the old site.

I think 1 week, say even 4 days is a lot of time for DNS propagation to happen. Is this a strange behaviour.

When i open the site from the IP address it opens, but when i open the site with a domain-name, at times it open, and at times it doesnot. Any clue?

I tried with two of my friends, who have never visited my site, so no dns cache on his machine, it opened for one, and didnot open for the other.
thanks

— From http://Squish.net
25.0% of queries will be returned by 66.40.52.47 (dns1.freehostia.com) vks.uni.cc. 3600 IN A 66.40.52.64
25.0% of queries will be returned by 66.40.66.152 (dns2.freehostia.com) vks.uni.cc. 3600 IN A 66.40.52.64
25.0% of queries will be returned by 72.55.164.113 (ns1.softuff.com) vks.uni.cc. 14400 IN A 72.55.164.113
25.0% of queries will be returned by 70.38.29.161 (ns2.softuff.com) vks.uni.cc. 14400 IN A 72.55.164.113

I donot understand what is this 25%, why is it not 100% or 50%
dns1.freehostia.com and dns2.freehostia.com were old servers.
ns1.softuff.com and ns2.softuff.com are new servers.

Best Answer

My answer to this question has a run-down of propagation time that I'll link to instead of copying+pasting here.

More specifically from your question it sounds to me like you authoritative name servers have not been updated (or are listed wrong so the wrong ones are being queried). To see what name server records your local DNS servers thing are being used for the domain you can use the dig <domain.tld> NS like so:

$ dig spillett.net NS
;; ANSWER SECTION:
spillett.net.           316     IN      NS      ns1.nogoodnamesareleft.com.
spillett.net.           316     IN      NS      ns2.nogoodnamesareleft.com.

you can then check them to see if they all have the right address for the name:

$ dig @ns1.nogoodnamesareleft.com www.spillett.net
;; ANSWER SECTION:
www.spillett.net.       349     IN      CNAME   spillett.net.
spillett.net.           349     IN      A       69.94.124.51
;; AUTHORITY SECTION:
spillett.net.           349     IN      NS      ns2.nogoodnamesareleft.com.
spillett.net.           349     IN      NS      ns1.nogoodnamesareleft.com.
;; ADDITIONAL SECTION:
ns1.nogoodnamesareleft.com. 3499 IN     A       69.94.124.137
ns2.nogoodnamesareleft.com. 3499 IN     A       78.105.118.25

(repeat the above for each NS record returned by your first query)

The TTL values returned by the queries directly against your domain's nameservers should always be the actual value set in the zone record (they are low in the example above as that domain was moved around recently and I forgot to set them back up higher when I'd finished), where-as for queries against non-authoritative servers (i.e. one of your default local name servers, which will be queried if dig is not given an @<server> directive) will be how long before that server next checks (against the nameservers listed as NS records for the domain) if its cached version needs to be updated.

Checking the above tests for your domain may give you some more clues as to where the source of the issue lies. If you are using Linux and don't have dig, it is usually found in a package called something like dnsutils (it is called that on Debian ad Ubuntu, I assume a similar arrangement on other distributions) - there are no doubt many ports to Windows (this is the first relevant looking page returned by Google) though I've never used any of them myself.

Related Topic