Subject: Re: dns search paths with KAME
To: matthew green <mrg@eterna.com.au>
From: None <itojun@iijlab.net>
List: current-users
Date: 07/14/1999 15:39:47
>shouldn't all this depend on /etc/nsswitch.conf ?  ie, if i have 'hosts: files'
>then it should *NEVER* ask the dns.... if i have 'hosts: files dns' it should
>ask the files for AAAA and A records, and then ask the DNS.. etc.

	If you have "hosts: files" in nsswitch.conf, it will never look up DNS.
	nsswitch.conf controls the behavior of gethostbyname2(), so
	getaddrinfo() will automatically obey nsswitch.conf.

	Ronald seem to wishing "hosts: files dns" so the previous email
	described that case.

itojun