[Nagiosplug-devel] check_dns.c

Matt Pounsett matt.pounsett at cira.ca
Tue Sep 30 08:27:08 CEST 2003


On Tue, 30 Sep 2003, Awais Ahmad wrote:

> 
> Hi,
> 
> Does anyone see any utility in rewriting check_dns.c to use gethostbyname(),
> instead of nslookup?. 
> Also, is just just querying for an A record really enough functionality for
> a plugin which checks name servers?

I was thinking about this myself the other day...  check_dns isn't really
useful for me, since most of my nameservers are non-recursive, and only hand
out NS records (the .ca roots).  

I have a custom plugin written in perl using Net::DNS which is really only
useful to me.. it checks serial numbers to make sure regular updates are
happening when expected .. but the Net::DNS module is easily powerful enough
to write a replacement for check_dns.
-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett at cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca





More information about the Devel mailing list