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, uh...@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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to