It depends on the nameserver asking the question.<br><br>The authoritative nameservers (master/secondaries) are going to instantly give the correct answer as soon as you change it.&nbsp; If a remote DNS server asks, it&#39;s first going to consult its cache, and failing that, recursively resolve the name.&nbsp; If the record is in the cache, it won&#39;t change until the record times out**.&nbsp; If it isn&#39;t, the correct answer is returned instantly.
<br><br>So, how to find out if it&#39;s cached?&nbsp; Our friend dig to the rescue:<br><br># dig <a href="http://ertw.com">ertw.com</a> @<a href="http://ns1.ertw.com">ns1.ertw.com</a><br><br>; &lt;&lt;&gt;&gt; DiG 9.3.1 &lt;&lt;&gt;&gt; 
<a href="http://ertw.com">ertw.com</a> @<a href="http://ertw.com">ertw.com</a><br>; (1 server found)<br>;; global options:&nbsp; printcmd<br>;; Got answer:<br>;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 8220
<br>;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0<br><br>;; QUESTION SECTION:<br>;ertw.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A<br><br>;; ANSWER SECTION:<br><a href="http://ertw.com">ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4079&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="http://24.79.141.139">24.79.141.139</a><br><br>;; AUTHORITY SECTION:<br><a href="http://ertw.com">ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7200&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://ns14.zoneedit.com">ns14.zoneedit.com</a>.<br><a href="http://ertw.com">
ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7200&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://ns12.zoneedit.com">ns12.zoneedit.com</a>.<br><br>You can see that the A record for <a href="http://ertw.com">ertw.com</a> has been cached locally -- the ttl is 4079 seconds as of my query.&nbsp; However the 2 NS records were not cached, so they are pulled from the authoritative server and now have a 7200 second lifetime.&nbsp; I&#39;ll ask again in a few seconds (just the relevent lines posted)
<br><br><a href="http://ertw.com">ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3898&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://24.79.141.139">24.79.141.139</a><br><a href="http://ertw.com">ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7019&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://ns14.zoneedit.com">
ns14.zoneedit.com</a>.<br><a href="http://ertw.com">ertw.com</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7019&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://ns12.zoneedit.com">ns12.zoneedit.com</a>.<br><br>As you can see, the server continues to count down.&nbsp; It&#39;s not for another 3898 seconds that my local server would notice that 
<a href="http://ertw.com">ertw.com</a> has changed.<br><br>** Some DNS servers have been known to ignore the TTL on a record and make up its own value.&nbsp; I&#39;ve only run into this when setting absurdly low TTLs (&lt; 300s) but I wouldn&#39;t be surprised if there were some that always ignored it.
<br><br>Sean<br><br><div><span class="gmail_quote">On 12/18/06, <b class="gmail_sendername">Montana Quiring</b> &lt;<a href="mailto:montanaq@gmail.com">montanaq@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I&#39;m interested in hearing what people&#39;s experiences are.<br>When changing the IP of a (web) server on the Internet, how long does<br>it take to DNS to propagate?<br><br>-Montana<br>_______________________________________________
<br>Roundtable mailing list<br><a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br><a href="http://www.muug.mb.ca/mailman/listinfo/roundtable">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Sean Walberg &lt;<a href="mailto:sean@ertw.com">sean@ertw.com</a>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://ertw.com/">http://ertw.com/</a>