[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] dns query output



On Mon, Feb 06, 2006 at 06:33:21PM -0500, Asif Iqbal wrote:
> On Mon, Feb 06, 2006 at 03:53:16PM, Asif Iqbal wrote:
> >
> > How does hobbit/bbtest-net use to get the dns query output? I am not
> > using the --no-ares hook. I thought it uses dig @server host, but I am
> > probably wrong about that.

It uses the c-ares library to perform the DNS queries, then formats the
results into what you see.

It never uses "dig", "nslookup" or any other external program.

> Also how do I go by compiling hobbit with djbdns library? I am already
> running djbdns's dnscache (internal) on hobbit server and like to take
> advantage if it for hobbit.

Using the djbdns resolver library requires some re-coding of the DNS
routines in Hobbit. But why don't you just put "nameserver 127.0.0.1"
into your resolv.conf file ? Then Hobbit will perform the lookups
against your local dnscache daemon, and you'll get 90% of the benefits
without having to change anything.


Henrik