<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/25/2014 12:40 PM, Michael H.
Warfield wrote:<br>
</div>
<blockquote cite="mid:1390671643.26816.3.camel@mtking.wittsend.com"
type="cite">
<pre wrap="">On Sat, 2014-01-25 at 12:07 -0500, Jim Lynch wrote:
</pre>
<blockquote type="cite">
<pre wrap="">One of my host providers changed the IP address of my server. I went to
the bind server that provides the master records and changed the IP
address in the tables. I restarted bind and then did a dig
@<masterdnsserver> <serverwithnewaddress> and it reports the old IP
address. Is something caching that information?
</pre>
</blockquote>
<pre wrap="">
1) Did you update the serial number in the SOA?</pre>
</blockquote>
Hi, Mike,<br>
<br>
Yes<br>
<blockquote cite="mid:1390671643.26816.3.camel@mtking.wittsend.com"
type="cite">
<pre wrap="">
2) Are you sure you got the right zone file? If bind is running chroot,
you may find a copy in /var/named/data and a copy
in /var/named/chroot/var/named/data. Modern setups connect the two
together through a bind mount but it use to not always be that way and
an updated system won't perform the bind mount if it finds the chroot
directory already populated.</pre>
</blockquote>
It's not chrooted. The /etc/named.conf file contains:<br>
<br>
zone "lynch-family.info" {<br>
type master;<br>
file "/var/named/lynch-family.info.hosts";<br>
};<br>
The /var/named/lynch-family.info.hosts file has a line:<br>
<br>
lynch-family.info. IN A 107.161.113.167<br>
<br>
Which is the new IP address. <br>
<br>
I'm pretty sure that's what bind is using.<br>
<br>
Jim.<br>
<blockquote cite="mid:1390671643.26816.3.camel@mtking.wittsend.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">I thought that if I provided a server to dig it asked the system
directly. I guess I need to go back to school.
</pre>
</blockquote>
<pre wrap="">
You got the correct dig command (although I would have specified -t any
and verified an updated SOA as well).</pre>
</blockquote>
How interesting. Adding the -t any found the correct address. -t A
gives me the old one. I guess I'll wait a few days and see if the
right stuff gets propogated.<br>
<br>
Thanks,<br>
Jim.<br>
<blockquote cite="mid:1390671643.26816.3.camel@mtking.wittsend.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Jim.
</pre>
</blockquote>
<pre wrap="">
Regards,
Mike
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>