Re: System Resolver Test App?

2009-11-12 Thread da...@from525.com
On Thu, 12 Nov 2009 01:48:02 -0500, Barry Margolin bar...@alum.mit.edu wrote: In article mailman.971.1257996722.14796.bind-us...@lists.isc.org, da...@from525.com da...@from525.com wrote: I think between Stephane's test app and some snoop data I have a better idea of what is going on. It

Re: System Resolver Test App?

2009-11-12 Thread da...@from525.com
On Thu, 12 Nov 2009 08:04:35 -0600, da...@from525.com da...@from525.com wrote: On Thu, 12 Nov 2009 01:48:02 -0500, Barry Margolin bar...@alum.mit.edu wrote: In article mailman.971.1257996722.14796.bind-us...@lists.isc.org, da...@from525.com da...@from525.com wrote: I think between

System Resolver Test App?

2009-11-11 Thread da...@from525.com
All, It has been a long day so please excuse me if I am over looking something trivial. I am wondering if anyone knows of an app similar to nslookup or dig that actually uses the system resolver. I spent a decent amount of time this morning trouble shooting an issue where a third invalid

Re: System Resolver Test App?

2009-11-11 Thread Barry Margolin
In article mailman.961.1257980410.14796.bind-us...@lists.isc.org, da...@from525.com da...@from525.com wrote: All, It has been a long day so please excuse me if I am over looking something trivial. I am wondering if anyone knows of an app similar to nslookup or dig that actually uses the

Re: System Resolver Test App?

2009-11-11 Thread Stephane Bortzmeyer
On Wed, Nov 11, 2009 at 05:00:03PM -0600, da...@from525.com da...@from525.com wrote a message of 60 lines which said: I am basically trying to uinderstand why the system resolver was getting stuck on the third entry within the resolv.conf while it should have tried one of the first two

Re: System Resolver Test App?

2009-11-11 Thread Stephane Bortzmeyer
On Wed, Nov 11, 2009 at 07:44:05PM -0500, Barry Margolin bar...@alum.mit.edu wrote a message of 27 lines which said: I'm not sure if there is one, but it should be pretty easy to write a program that calls res_query(). But this calls directly the DNS. The OP wanted something which called

Re: System Resolver Test App?

2009-11-11 Thread Stephane Bortzmeyer
On Wed, Nov 11, 2009 at 05:00:03PM -0600, da...@from525.com da...@from525.com wrote a message of 60 lines which said: I am wondering if anyone knows of an app similar to nslookup or dig that actually uses the system resolver. C source attached. Compile, for instance, with: gcc -o

Re: System Resolver Test App?

2009-11-11 Thread Barry Margolin
In article mailman.966.1257988033.14796.bind-us...@lists.isc.org, Stephane Bortzmeyer bortzme...@nic.fr wrote: On Wed, Nov 11, 2009 at 07:44:05PM -0500, Barry Margolin bar...@alum.mit.edu wrote a message of 27 lines which said: I'm not sure if there is one, but it should be pretty easy

Re: System Resolver Test App?

2009-11-11 Thread Stephane Bortzmeyer
On Wed, Nov 11, 2009 at 08:14:02PM -0500, Barry Margolin bar...@alum.mit.edu wrote a message of 24 lines which said: If you just want to do a hostname lookup, you can use practically any network application, e.g. ping. It gives you less information than the program I posted. 1) On typical

Re: System Resolver Test App?

2009-11-11 Thread da...@from525.com
On Thu, 12 Nov 2009 10:01:38 +0900, Stephane Bortzmeyer bortzme...@nic.fr wrote: On Wed, Nov 11, 2009 at 05:00:03PM -0600, da...@from525.com da...@from525.com wrote a message of 60 lines which said: I am wondering if anyone knows of an app similar to nslookup or dig that actually uses

Re: System Resolver Test App?

2009-11-11 Thread Jeremy C. Reed
http://www.reedmedia.net/software/gethost/ ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users

Re: System Resolver Test App?

2009-11-11 Thread da...@from525.com
On Wed, 11 Nov 2009 20:06:11 -0600, da...@from525.com da...@from525.com wrote: On Thu, 12 Nov 2009 10:01:38 +0900, Stephane Bortzmeyer bortzme...@nic.fr wrote: On Wed, Nov 11, 2009 at 05:00:03PM -0600, da...@from525.com da...@from525.com wrote a message of 60 lines which said: I am

Re: System Resolver Test App?

2009-11-11 Thread Barry Margolin
In article mailman.971.1257996722.14796.bind-us...@lists.isc.org, da...@from525.com da...@from525.com wrote: I think between Stephane's test app and some snoop data I have a better idea of what is going on. It seems as if the local resolver starts by issuing ipv6 requests to the three name