check_dns: add AAAA,MX,TXT,SRV,CNAME (#1185)

Jan Wagner waja at cyconet.org
Sat Jan 17 10:20:01 CET 2015


Hi Peter,

thanks for bringing this up to our attention.

> take care when takeover, looks like the upstream version has a strange
> upcase issue:

nagios-plugins isn't our upstream, but they forked us (not digging into
details here again). So we can share code in some areas in each direction.

> /usr/lib64/nagios/plugins/check_dns -q SOA google.de
> DNS OK: 0,023 seconds response time. GOOGle.de returns
> ns2.google.com|time=0,022598s;;;0,000000
> 
> /usr/lib64/nagios/plugins/check_dns -q MX redhat.com
> DNS OK: 0,043 seconds response time. REDHAt.com returns 10
> mx2.REDHAt.com.,5 mx1.REDHAt.com.|time=0,042732s;;;0,000000
> 
> (amout of upcase chars vary....haven't digged through the code how this
> could happen...perhaps one can inform upstream)

We have spotted some quirks with this changes too, which is one reason
that we don't have pulled it (yet).

>   /usr/lib64/nagios/plugins/check_dns -V
> 
> check_dns v2.0.1 (nagios-plugins 2.0.1)

Maybe you might want to report this issue at
https://github.com/nagios-plugins/nagios-plugins/issues/new

With kind regards, Jan.






More information about the Devel mailing list