How can I search multiple domains in resolv.conf?

Barry Margolin barmar at alum.mit.edu
Sat Jul 2 00:07:38 UTC 2005


In article <da40gm$1mue$1 at sf1.isc.org>, needin4mation at gmail.com wrote:

> Hi,
> 
> in my resolv.conf I have
> 
> domain domain1.com domain2.com
> nameserver 192.168.20.61
> nameserver ...
> 
> It works.  But is this correct?  I couldn't find it on the man page or
> anywhere else.  Thanks.

You can only put one domain after "domain".  If you want multiple 
domains, use "search" instead:

search domain1.com domain2.com

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list