[distcc] gethostbyname()

Thomas Schwinge schwinge-lists-samba.org-distcc at nic-nac-project.de
Wed Oct 13 08:10:40 GMT 2004


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.

    * Kind of: it's small. Really small. But it just works.
    * Asynchronous: all DNS operations are non-blocking.
    * DNS client software: it's a DNS client, what you may know as a "stub resolver". To perform full DNS resolution, you will still need a full resolver like dnscache.

The skadns library offers a simple API to make asynchronous DNS queries.
The skadnsip, skadnsmx and skadnsfilter commands are examples of how to use that API. They are mainly there for their source code.
The skadnsd daemon, usable as a child process or as a separate service, handles the grunt work of DNS querying and makes the network completely invisible to the client.
#v-


Regards,
 Thomas



More information about the distcc mailing list