[YLUG] Testing name lookups

Craig Genner craig at tuxx.org.uk
Thu Sep 6 23:09:49 BST 2007


On 6 Sep 2007, at 22:40, Roger Leigh wrote:

>  Unfortunately, tools
> like host, nslookup and dig appear to only query the DNS servers in
> /etc/resolv.conf, whereas I want to also query hosts

For the above you just have to specify the server to query as the  
last variable.

Where as:
$ host www.google.co.uk
will use your /etc/resolve servers, the following will use the  
specified server (in this case yahoo):
$ host www.google.co.uk ns1.yahoo.com

Not sure if this is what you are after/will help, but just incase...

Craig



More information about the York mailing list