Subject: Re: DNS-SD in getaddrinfo()
To: Matt Thomas <matt@3am-software.com>
From: mouss <usebsd@free.fr>
List: tech-net
Date: 06/03/2004 03:06:26
Matt Thomas wrote:
>
> On Jun 2, 2004, at 11:38 AM, Jason Thorpe wrote:
>
>>
>> On Jun 2, 2004, at 5:42 AM, Pelle Johansson wrote:
>>
>>> You'll notice there's a new entry for include/netdb.h adding an
>>> additional AI_SRV flag, and an additional check in _dns_getaddrinfo
>>> for this flag.
>>
>>
>> FWIW, I like this approach better than looking up SRV records by default.
>
>
> It seems to me that this should controlled by an entry in
> /etc/nsswitch.conf (srv?):
>
> host: files dns srv
>
>
This would create a compatibility problem. better not to touch
nsswitch.conf. any other file (or a sysctl var) could do.