<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>my resolv.conf looks  like....</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">nameserver 10.10.10.10</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">nameserver 10.10.10.20</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">search path1.mydomain.com path2.mydomain.com</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I would expect if I type the following:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">dig myhost</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">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.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">[root@server1 # dig myhost +trace<br><br>; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> myhost +trace<br>;; global options: +cmd<br>.            98386    IN    NS    k.root-servers.net.<br>.            98386    IN    NS    m.root-servers.net.<br>.            98386    IN    NS   
 b.root-servers.net.<br>.            98386    IN    NS    i.root-servers.net.<br>.            98386    IN    NS    e.root-servers.net.<br>.            98386    IN    NS    f.root-servers.net.<br>.            98386    IN    NS    a.root-servers.net.<br>.            98386    IN    NS    d.root-servers.net.<br>.            98386    IN    NS    j.root-servers.net.<br>.           
 98386    IN    NS    c.root-servers.net.<br>.            98386    IN    NS    g.root-servers.net.<br>.            98386    IN    NS    l.root-servers.net.<br>.            98386    IN    NS    h.root-servers.net.<br>;; Received 512 bytes from 10.176.156.20#53(10.16.16.20) in 9 ms<br><br>^C[root@server1]# vi /etc/resolv.conf ^C<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;">Any idea why?  Thanks in advance...<br></div></div></body></html>