Bug#933658: [Pkg-nagios-devel] Bug#933658: monitoring-plugins-standard: check_dns unable to cope with punycode/UTF-8 domains
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.00 $ dpkg -S /usr/bin/nslookup dnsutils: /usr/bin/nslookup $ dpkg -l | grep dnsutils ii dnsutils 1:9.10.3.dfsg.P4-12.3+deb9u10 amd64Clients 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.
Bug#933658: [Pkg-nagios-devel] Bug#933658: monitoring-plugins-standard: check_dns unable to cope with punycode/UTF-8 domains
Hi Jan, * Jan Wagner [2021-12-20 06:20:31 +0100]: 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.00 $ dpkg -S /usr/bin/nslookup dnsutils: /usr/bin/nslookup $ dpkg -l | grep dnsutils ii dnsutils 1:9.10.3.dfsg.P4-12.3+deb9u10 amd64Clients 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). Right. And looking at the nslookup response the UTF-8 attempt is at least going out correctly. Thanks! Best regards, Kilian