You probably want to use host myhost, that does use the resolv.conf as the system normally would. And it works better than nslookup.
On 08/05/13 16:56, Evan Hunt wrote: >> dig myhost > By default dig only uses fully qualified domain names. "dig +search" > does what you want. > >> It would search for that host in path1 or path2 listed above.? It does >> not, a +trace shows the resolver querying the root servers for myhost.? >> So it appears the search command does not work in environment. >> >> [root@server1 # dig myhost +trace > ...but "dig +trace" behaves completely differently, searching for the > name from the root zone down and never touching the local resolver at > all, so this would have queried the root server even if you'd used a > FQDN. > -- Best regards Sten Carlsen No improvements come from shouting: "MALE BOVINE MANURE!!!"
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users