Hi All
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.
Thanks
-- 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
On Mon, Feb 06, 2006 at 03:53:16PM, Asif Iqbal wrote:
Hi All
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.
Thanks
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.
Thanks
-- 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
Asif Iqbal wrote:
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.
Thanks
Write a patch. DJB's DNS library is not plug-compatible with the standard resolver library. Code will need to be rewritten. Of course, not much Bernstein's written is compatible with anything else, anyway... :-) -Alan
-- Alan Sparks, UNIX/Linux Systems Integration and Administration <asparks at doublesparks.net>
On Mon, Feb 06, 2006 at 05:15:20PM -0700, Alan Sparks wrote:
Asif Iqbal wrote:
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.
Thanks
Write a patch. DJB's DNS library is not plug-compatible with the standard resolver library. Code will need to be rewritten. Of course, not much Bernstein's written is compatible with anything else, anyway... :-)
Amen. Much as I like some of DJB's tools, his coding style and disregard for any kind of API compatibility can be a real pain in the ....
I actually did look at his resolver library for Hobbit, but gave up trying to work out exactly how it should be used. Then I found the c-ares library and never looked back.
I do use his DNS daemons on my servers, but it's kind of "black-box" code - as long as it does what it should, I don't care *how* it does it.
Henrik
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
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- 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
On Tue, Feb 07, 2006 at 09:43:17AM -0500, Asif Iqbal wrote:
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.
If you compile the c-ares library - the source tar.gz file is included in Hobbit - the output is very similar to that of the "adig" utility. (I think you'll have to run "make adig" to build that).
Henrik
participants (3)
-
asparks@doublesparks.net
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net