Hide Forgot
Description of problem: On RHEL7.7 the EPEL-packaged Nagios check_dns plugin (nagios-plugins-dns) is unable to parse the new format introduced for nslookup -querytype=AAAA queries in bind 9.11. This has been addressed upstream in nagios-plugins in https://github.com/nagios-plugins/nagios-plugins/pull/398 but the latest available version of nagios-plugins-dns in epel7 is from January 2019. Version-Release number of selected component (if applicable): # yum info nagios-plugins-dns bind-utils Loaded plugins: product-id, search-disabled-repos, subscription-manager, versionlock Installed Packages Name : bind-utils Arch : x86_64 Epoch : 32 Version : 9.11.4 Release : 9.P2.el7 Size : 584 k Repo : installed From repo : rhel-7-server-rpms Summary : Utilities for querying DNS name servers URL : http://www.isc.org/products/BIND/ License : MPLv2.0 [... snipped description ...] Name : nagios-plugins-dns Arch : x86_64 Version : 2.2.1 Release : 16.20180725git3429dad.el7 Size : 65 k Repo : installed From repo : epel Summary : Nagios Plugin - check_dns URL : https://www.nagios-plugins.org/ License : GPLv2+ [... snipped description ...] How reproducible: always with latest bind-utils and nagios-plugins-dns on RHEL7.7 Steps to Reproduce: On RHEL: 1. subscription-manager repos --enable rhel-7-server-optional-rpms --enable rhel-7-server-extras-rpms 2. yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 2. yum update -y 3. yum install -y nagios-plugins-dns bind-utils 4. /usr/lib64/nagios/plugins/check_dns -q AAAA -H example.com Actual results: DNS CRITICAL - query type of -querytype=AAAA was not found for example.com Expected results: DNS OK: 0.017 seconds response time. example.com returns 2606:2800:220:1:248:1893:25c8:1946|time=0.017479s;;;0.000000 Additional info: Example nslookup -querytype=AAAA output for bind-utils 9.9.4 and 9.11.4: bind-utils 9.9.4: # nslookup -querytype=AAAA example.com Server: 5.102.144.102 Address: 5.102.144.102#53 Non-authoritative answer: example.com has AAAA address 2606:2800:220:1:248:1893:25c8:1946 Authoritative answers can be found from: example.com nameserver = b.iana-servers.net. example.com nameserver = a.iana-servers.net. a.iana-servers.NET internet address = 199.43.135.53 a.iana-servers.NET has AAAA address 2001:500:8f::53 b.iana-servers.NET internet address = 199.43.133.53 b.iana-servers.NET has AAAA address 2001:500:8d::53 bind-utils 9.11.4: # nslookup -querytype=AAAA example.com Server: 5.102.144.102 Address: 5.102.144.102#53 Non-authoritative answer: Name: example.com Address: 2606:2800:220:1:248:1893:25c8:1946
Sorry for the delay in this. I am not sure upstream has fixed it yet or not but have updated to newest git in hopes.
FEDORA-EPEL-2019-9b63c08c0f has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-9b63c08c0f
FEDORA-EPEL-2019-22c97df420 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-22c97df420
Thanks for the update. Checking the git revision of the new package (https://github.com/nagios-plugins/nagios-plugins/tree/fb792ff), the fix implemented in https://github.com/nagios-plugins/nagios-plugins/pull/398 should be included. How long do packages on bodhi usually stay in "Pending"?
nagios-plugins-2.2.1-17.20190829gitfb792ff.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-22c97df420
nagios-plugins-2.2.1-17.20190829gitfb792ff.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-9b63c08c0f
I've tested the check_dns plugin in the new EPEL7 package with the latest bind-utils 9.11 from RHEL7.7. The new version of the check_dns plugin can handle the AAAA nslookup output from 9.11: # nslookup -version nslookup 9.11.4-P2-RedHat-9.11.4-9.P2.el7 # yum info nagios-plugins-dns | egrep "^(Version|Release)" Version : 2.2.1 Release : 17.20190829gitfb792ff.el7 # /usr/lib64/nagios/plugins/check_dns -q AAAA -H example.com DNS OK: 0.022 seconds response time. example.com returns 2606:2800:220:1:248:1893:25c8:1946|time=0.021572s;;;0.000000 #
nagios-plugins-2.2.1-17.20190829gitfb792ff.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
nagios-plugins-2.2.1-17.20190829gitfb792ff.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.