[Nagiosplug-devel] [ nagiosplug-Patches-836008 ] Partial rewrite of check_dns

SourceForge.net noreply at sourceforge.net
Wed Nov 5 01:47:07 CET 2003

Patches item #836008, was opened at 2003-11-04 20:16
Message generated for change (Comment added) made by synked
You can respond by visiting: 

Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Howard Wilkinson (howardwilkinson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Partial rewrite of check_dns

Initial Comment:
This is a patch file that provides a partially complete
rewrite of the check_dns plugin.

The rewrite is a start of an implementation to use one
of 4 technologies to implement the check_dns function.

The complete option is to use nslookup as the
technology to issue the underlying dns checks.
Alternatives or the host command, the resolver library
and use of the dig command are not complete.

Note this runs with the nslookup supplied with Bind-9,
your mileage may vary.

When I get to it I hope to finish the other
technologies and add a mechanism to work out which one
to use on each system dynamically.


Comment By: Awais Ahmad (synked)
Date: 2003-11-05 09:46

Logged In: YES 

The resolver libs are supported on all libc/glibc systems. 
Why not use those only?  I'm nearly finished with a patch
exculsively using the resolver libs. Since the name server
libs (stuff like ns_init_parse and stuff to parse replies)
are not globally available in libc/glibc, I've implemented
my own reply parsing routines. The patch should be ready in
a couple of weeks if I get time to work on it. 




You can respond by visiting: 

More information about the Devel mailing list