resolver, search command....

Evan Hunt each at
Wed May 8 14:56:27 UTC 2013

> 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 at 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

Evan Hunt -- each at
Internet Systems Consortium, Inc.

More information about the bind-users mailing list