Subject: Re: DNS-SD in getaddrinfo()
To: mouss <usebsd@free.fr>
From: Perry E. Metzger <perry@piermont.com>
List: tech-net
Date: 06/02/2004 21:33:55
mouss <usebsd@free.fr> writes:
> 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.

Create a compatibility problem with what? nsswitch.conf is a NetBSD
created file, and we have a perfect ability to alter it at will.


-- 
Perry E. Metzger		perry@piermont.com