Xymon Mailing List Archive search

dns query output

list Asif Iqbal
Tue, 7 Feb 2006 09:43:17 -0500
Message-Id: <user-efb91d4d7be8@xymon.invalid>

On Tue, Feb 07, 2006 at 07:46:29AM, Henrik Storner wrote:
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.
I was wondering if I there is a example query I can run to show
technical groups. Ofcourse the web shows the output but may be from cli
if I could run an example it would be cool.
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"
That is what I have been doing exactly :-)

Thanks a lot
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

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi