[Bug 196725] net-mgmt/nagios-plugins: Fix check_dig on > 10 with IPv6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 14 14:28:16 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196725
Bug ID: 196725
Summary: net-mgmt/nagios-plugins: Fix check_dig on > 10 with
IPv6
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: mat at FreeBSD.org
Reporter: brd at FreeBSD.org
Assignee: mat at FreeBSD.org
Flags: maintainer-feedback?(mat at FreeBSD.org)
Created attachment 151623
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151623&action=edit
patch
With IPv6 queries the flags are put in out of order which prevent drill from
ever returning:
# /usr/local/libexec/nagios/check_dig -6 -H ::1 -T AAAA -l ns4.example.com -a
::2 -v
/usr/bin/drill @::1 -z -p 53 ns4.example.com AAAA -6
Looking for: '::2'
CRITICAL - Plugin timed out while executing system call
#
The patch fixes the flags to be before the query:
# /usr/local/libexec/nagios/check_dig -6 -H ::2 -T AAAA -l ns4.liquidneon.com
-a ::2 -v
/usr/bin/drill @::2 -z -p 53 -6 ns4.example.com AAAA
Looking for: '2607:fc50:1000:8000::2'
;; ANSWER SECTION:
ns4.example.com. 3600 IN AAAA ::2
DNS OK - 0.070 seconds response time (ns4.exampe.com. 3600 IN AAAA
::2)|time=0.069712s;;;0.000000
#
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer mat at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list