Subject: Re: dns search paths with KAME
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: None <itojun@iijlab.net>
List: current-users
Date: 07/15/1999 06:56:09
> > 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.
>Absolutely correct.
getaddrinfo() calls gethostbyname2() internally, so it should obey
/etc/nsswitch.conf. I'll make more checks when I get Ronald's
configuration.
itojun