[Pkg-nagios-devel] Bug#933658: Bug#933658: monitoring-plugins-standard: check_dns unable to cope with punycode/UTF-8 domains

Jan Wagner waja at cyconet.org
Mon Dec 20 05:20:31 GMT 2021


Hi Kilian,

thanks for bringing this to our attention.

Am 01.08.19 um 15:26 schrieb Kilian Krause:
> The current version of check_dns seems to be broken w.r.t. punycode/UTF-8 domains:
> 
> # /usr/lib/nagios/plugins/check_dns -H xn--brckenkurs-mathematik-9hc.de. -s 129.69.252.34
> DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address
> # /usr/lib/nagios/plugins/check_dns -H brückenkurs-mathematik.de -s 129.69.252.34
> DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address
> # nslookup -sil brückenkurs-mathematik.de 129.69.252.34
> Server:         129.69.252.34
> Address:        129.69.252.34#53
> 
> Name:   brückenkurs-mathematik.de
> Address: 129.69.8.19
> Name:   brückenkurs-mathematik.de
> Address: 2001:7c0:2041:8::19

$ /usr/lib/nagios/plugins/check_dns -H xn--brckenkurs-mathematik-9hc.de. -s 8.8.8.8
DNS OK: 0.054 seconds response time. xn--brckenkurs-mathematik-9hc.de. returns 129.69.8.19|time=0.053687s;;;0.000000
$ dpkg -S /usr/bin/nslookup
dnsutils: /usr/bin/nslookup
$ dpkg -l | grep dnsutils
ii  dnsutils                                                 1:9.10.3.dfsg.P4-12.3+deb9u10      amd64        Clients provided with BIND
$ cat /etc/debian_version
9.13
$ /usr/lib/nagios/plugins/check_dns -V
check_dns v2.3 (monitoring-plugins 2.3)

Look like it's fixed with monitoring-plugins 2.3 (at least with punycode,
which seems resonable).

Cheeers, Jan.



More information about the Pkg-nagios-devel mailing list