<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    You probably want to use host myhost, that does use the resolv.conf
    as the system normally would. And it works better than nslookup.<br>
    <br>
    <div class="moz-cite-prefix">On 08/05/13 16:56, Evan Hunt wrote:<br>
    </div>
    <blockquote cite="mid:20130508145626.GA74858@isc.org" type="cite">
      <blockquote type="cite">
        <pre wrap="">dig myhost
</pre>
      </blockquote>
      <pre wrap="">
By default dig only uses fully qualified domain names. "dig +search"
does what you want.

</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">
...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.

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>