[ubuntu-us-mi] name resolution issue on Lucid

Scott Moser smoser at brickies.net
Wed Jul 14 17:50:06 BST 2010



On Jul 14, 2010, at 12:08 PM, Robert Citek <robert.citek at gmail.com>  
wrote:

>
> $ dig @10.1.1.1 bar +short
> 10.1.1.12
>
> I checked this several times on Lucid and kept getting the old IP.
> What's interesting is that I get the same result using host.  Here it
> is on RHEL and CentOS:
>
> $ host bar 10.1.1.1
> Using domain server:
> Name: 10.1.1.1
> Address: 10.1.1.1#53
> Aliases:
>
> bar is an alias for www.
> www has address 10.1.1.10
>
> And on Lucid, host returns the old IP:
>
> $ host bar 10.1.1.1
> Using domain server:
> Name: 10.1.1.1
> Address: 10.1.1.1#53
> Aliases:
>
> bar has address 10.1.1.12
>
> It seems as though Lucid is doing some kind of caching.  Does this
> look familiar to anyone?

Both dig and host (with explicit nameserver) should be doing a network  
request rather than a getaddrinfo (or similar). Thus there shouldn't  
be any caching there.
>

I really don't have an idea. I'd next try packet sniffing to see  
what's going on. 



More information about the ubuntu-us-mi mailing list