July 21st, 2003, 02:37 AM
Say I have the domain xyz.com and I host it's name servers which are ns1/ns2.nameserver.com which currently say in the zone records that it belongs to ip 22.214.171.124. Now if I where to change that to 126.96.36.199 would that be instantanious OR would that need to propagate over the internet as well like when changing DNS server information on the whois data of that domain?
July 22nd, 2003, 12:34 PM
Re: DNS Caching???
It all has to do with the caching of DNS information. Here's the deal. Let's say someone else tried to visit your site, just before you updated your nameserver information. Their caching nameserver will ask your nameserver for the DNS information and will receive 188.8.131.52. Now, their caching nameserver will cache the information for a while (determined largely by the time to live value specified in your zone records). So, the next few times that the person tries to visit your site, their caching nameserver will not bother to query your nameserver again and will instead return the cached information (184.108.40.206) for a while. Anyone else who uses the same caching nameserver will receive the cached information also. The cached information will not be refreshed until the time-to-live runs out. So, even if you change your zone record, the caching nameserver will not query your nameserver for a while.
However, let's say you just changed your zone information and someone else, whose caching nameserver did not have your old information cached, tries to visit your site. Their nameserver will query your nameserver and therefore receive 220.127.116.11 and cache the info and so on. What this means is that users of the first caching nameserver will have 18.104.22.168 for a while, whereas users of the second caching nameserver will have 22.214.171.124. This means that you'll receive hits on both IP addresses for a while, until the nameservers that had your old DNS information cached have a chance to refresh.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo