Host/nslookup/dig queries wrong server

Duncan Berriman duncan at dcl.co.uk
Wed Feb 3 11:42:19 UTC 2010


How do I check which one it is? I can't see any option to tell me.

It should be which ever one comes with Fedora 10 or Centos 5.4 and appears
to be the following on Centos

bind-libs-9.3.6-4.P1.el5_4.2
bind-9.3.6-4.P1.el5_4.2
bind-utils-9.3.6-4.P1.el5_4.2
bind-chroot-9.3.6-4.P1.el5_4.2

And the following on Fedora 10
 
bind-9.5.1-2.P2.fc10.i386
bind-libs-9.5.1-2.P2.fc10.i386
bind-utils-9.5.1-2.P2.fc10.i386
bind-chroot-9.5.1-2.P2.fc10.i386

Duncan

> -----Original Message-----
> From: bind-users-bounces+duncan=dcl.co.uk at lists.isc.org 
> [mailto:bind-users-bounces+duncan=dcl.co.uk at lists.isc.org] On 
> Behalf Of Matus UHLAR - fantomas
> Sent: 03 February 2010 11:00
> To: bind-users at lists.isc.org
> Subject: Re: Host/nslookup/dig queries wrong server
> 
> 
> On 03.02.10 10:07, Duncan Berriman wrote:
> > In certain versions of linux I have noticed that the 
> host/nslookup and dig
> > command query the wrong server.
> >
> > For instance if the following command is run it should 
> return ;; connection
> > timed out; no servers could be reached
> > 
> > # host google.co.uk 123.123.123.1
> > 
> > However on certain versions of linux it decides almost 
> instantly since it
> > can't connect to the server specified it will use the name 
> servers in
> > resolv.conf, in this case that is the local host.
> > 
> > # host google.co.uk 123.123.123.1
> > Using domain server:
> > Name: 127.0.0.1
> > Address: 127.0.0.1#53
> > Aliases:
> [...]
> 
> there are two "host" commands, one comes from bind, one from 
> dunnowhere.
> check which one do you have installed. 
> 
> -- 
> Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> My mind is like a steel trap - rusty and illegal in 37 states. 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.




More information about the bind-users mailing list