[Nagiosplug-devel] check_dns problem

Subhendu Ghosh sghosh at sghosh.org
Wed Nov 27 19:57:04 CET 2002


Plans are to switch from nslookup to host.  I doubt whether we will 
actually do our own dns check (raw packets) anytime soon, unless there is 
some coding effort.

-sg

On Wed, 27 Nov 2002, James Fidell wrote:

> When started, nslookup tries to look up the hostname of the server
> being used for queries.  In the general case this is fine.  However,
> if it is being used to do a lookup on a server which doesn't allow
> recursive queries and isn't authoritative for its own reverse address
> then the lookup times out and check_dns reports an error when there
> may be none.
> 
> I've hacked check_dns.c to use "host" for the moment (since nslookup
> is deprecated anyway).  Is there an alternative work-around for this
> problem (I guess check_dns should really do it's own DNS check rather
> than relying on any external application).
> 
> James
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T 
> handheld. Power & Color in a compact size! 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> 

-- 






More information about the Devel mailing list