[distcc] gethostbyname()

Martin Pool mbp at sourcefrog.net
Wed Oct 13 08:29:45 GMT 2004

On 13 Oct 2004, Thomas Schwinge <schwinge-lists-samba.org-distcc at nic-nac-project.de> wrote:
> On Wed, Oct 13, 2004 at 12:18:20PM +1000, Martin Pool wrote:
> > On Tue, 12 Oct 2004 12:32:25 +0200, Dimitri Papadopoulos-Orfanos
> > <papadopo at www.nospam.fr> wrote:
> > > Note that mozilla uses lookups in a separate process, so that option may
> > > be gross but it can't be that bad.
> > 
> > Samba does this too.  Perhaps someone should put it into a library, if
> > there is not already one.
> <URL:http://www.skarnet.org/software/skadns/>
> #v+
> Skadns is Kind of an Asynchronous DNS client software.

Thanks for the pointer, but this seems to only do DNS, not other
nsswitch options such as /etc/hosts or NIS.  Not an absolute
impediment, but it would be nice to support them for users who need

Getting nsswitch correct probably requires using the system libc,
which means gethostbyname_a is the only option.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20041013/a3bad639/attachment.bin

More information about the distcc mailing list