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

Kilian Krause krause at rus.uni-stuttgart.de
Thu Aug 1 14:26:43 BST 2019

Package: monitoring-plugins-standard
Version: 2.2-6
Severity: normal

Dear Maintainer,

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
DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address
# /usr/lib/nagios/plugins/check_dns -H brückenkurs-mathematik.de -s
DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address
# nslookup -sil brückenkurs-mathematik.de

Name:   brückenkurs-mathematik.de
Name:   brückenkurs-mathematik.de
Address: 2001:7c0:2041:8::19

# /usr/lib/nagios/plugins/check_dns -H uni-stuttgart.de -s
DNS OK: 0,009 seconds response time. uni-stuttgart.de returns,2001:7c0:7c0:5::cafe|time=0,009333s;;;0,000000

-- System Information:
Debian Release: 10
  APT prefers stable
  APT policy: (990, 'stable'), (890, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monitoring-plugins-standard depends on:
ii  libc6                     2.28-10
ii  monitoring-plugins-basic  2.2-6
ii  ucf                       3.0038+nmu1

Versions of packages monitoring-plugins-standard recommends:
ii  bind9-host [host]   1:9.11.5.P4+dfsg-5.1
ii  dnsutils            1:9.11.5.P4+dfsg-5.1
un  host                <none>
un  libdbi1             <none>
ii  libgnutls30         3.6.7-4
ii  libldap-2.4-2       2.4.47+dfsg-3
un  libmariadb3         <none>
un  libmariadbclient18  <none>
ii  libnet-snmp-perl    6.0.1-5
ii  libpq5              11.4-1
un  libradcli4          <none>
un  rpcbind             <none>
un  smbclient           <none>
un  snmp                <none>
ii  sudo                1.8.27-1
ii  zlib1g              1:1.2.11.dfsg-1

Versions of packages monitoring-plugins-standard suggests:
un  exim4-daemon-light  <none>
un  fping               <none>
ii  icinga | icinga2    2.10.3-2
pn  qstat               <none>

More information about the Pkg-nagios-devel mailing list