Subject: Re: nsswitch.conf and irs.conf
To: Luke Mewburn <lukem@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 01/20/2003 10:20:46
>All that we need to change is the back-end for "dns" lookups for
>those services (e.g, _dns_gethtbyname() et al).  That gives you
>the resolver upgrade to "BIND 8" DNS lookups that you want want,
>without all the other baggage that IRS comes with.  There's no
>point in bringing in the entire IRS framework (to support switching
>between dns, nis, and files) when our nsswitch framework already
>supports such switching.

	it is not just DNS logic that needs to become thread safe.  for
	instance,
	- getaddrinfo(3) has to be thread safe.
	- getaddrinfo(3) calls getservbyname(3).  therefore getservbyname(3)
	  has to be thread safe, regardless from the backend database being
	  used (/etc/services, whatever else).

itojun