[techtalk] resolv.conf issues

Olivier Tharan olive at minet.net
Fri Sep 1 09:12:57 EST 2000


Le 31 août 2000, Vinnie écrivait :
> search domain.com sub1.domain.com sub2.domain.com domain.net

> the problem is that the search path doesn't work :( the *first* domain

>From the resolv.conf(5) man page: 

search	Search list for host-name lookup.  The search  list is  normally
	determined from the local domain name; by default, it contains
	only the local domain name.  This  may  be changed by listing
	the desired domain search  path  following  the  search  keyword
	with spaces or tabs separating the names.  Most resolver queries
	will be attempted using each  component  of the  search  path
	in  turn until a match is found.  Note  that  this  process  may
	be  slow  and  will generate  a  lot  of network traffic if the
	servers for the listed domains  are  not  local,  and  that
	queries will time out if no server is available for one of the
	domains.

	The search list is currently limited to six domains with a total
	of 256 characters.

The last line is important: check that you don't have more than 6
domains listed and do not have more than 256 characters.

If the behavior is not that expected, then it is either a bug in the man
page or in the resolver.

olive
-- 
So when the machine truncates excess bits, it throws them under the
raised floor.  - Fred Felber (so THAT's why there are raised floors in
computer rooms.)





More information about the Techtalk mailing list