[LUNI] multiple search domains

Craig Van Tassle craig at codestorm.org
Fri Jul 17 11:56:15 CDT 2009


Tim,

Try this. 

search domain2.com domain1.com domain.com

You need to specify it in one line just spaced apart. Using a , wont
work properly.

On Fri, 17 Jul 2009 09:24:41 -0700 (PDT)
"Timothy J. Wielgos" <tim at wielgos.com> wrote:

> Hey all,
> 
> I noticed something today that ought to work but doesn't.
> 
> If I add multiple search domains to my /etc/resolv.conf file, it only
> searches the last one in the list.  
> 
> Ex:
> 
> #cat /etc/resolv.conf
> search domain.com
> search domain2.com
> nameserver <dns ip address>
> nameserver <secondary dns ip address>
> 
> #nslookup host-on-domain
> 
> ** server can't find host-on-domain: SERVFAIL
> 
> #nslookup host-on-domain.domain.com
> Name: host-on-domain.domain.com
> Address:  192.168.0.13
> 
> #nslookup host-on-domain2
> Name: host-on-domain2.domain2.com
> Address:  192.168.0.14
> 
> 
> Anybody else notice this?  Am I being stupid here?


-- 
Craig Van Tassle
onGuard Managed Services 
onShore Networks, LLC http://www.onshore.com
craigv at onshore.com
312.850.5200 x116


More information about the LUNI mailing list