[Pkg-nagios-devel] Bug#669312: Bug#669312: check_dig thinks that :: is not :0:
Jan Wagner
waja at cyconet.org
Thu Apr 19 07:33:00 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Marc,
thanks for reporting the issue.
On 04/19/2012 12:09 AM, Marc Haber wrote:
> check_dig does not handle IPv6 addresses with the intelligence that
> it needs. For example:
>
> /usr/lib/nagios/plugins/check_dig --hostname 127.0.0.1
> --query_address=guanabara.rederio.br --record_type=AAAA
> --expected_address=2001:12f0:4c2::222:19ff:febd:98c2 --verbose
> /usr/bin/dig @127.0.0.1 -p 53 guanabara.rederio.br -t AAAA Looking
> for: '2001:12f0:4c2::222:19ff:febd:98c2' ;; ANSWER SECTION:
> guanabara.rederio.br. 86400 IN AAAA
> 2001:12f0:4c2:0:222:19ff:febd:98c2
>
> ;; AUTHORITY SECTION: rederio.br. 86400 IN NS
> rio.rederio.br. rederio.br. 86400 IN NS
> guanabara.rederio.br.
>
> ;; ADDITIONAL SECTION: rio.rederio.br. 86400 IN A
> 200.20.94.51 guanabara.rederio.br. 86400 IN A
> 200.20.94.50
>
> ;; Query time: 510 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN:
> Thu Apr 19 00:06:03 2012 ;; MSG SIZE rcvd: 130
>
> DNS WARNING - 0.524 seconds response time (Server not found in
> ANSWER SECTION)|time=0.523813s;;;0.000000
>
> note 19ff::febd on the command line (which is the output given,
> for example, by the ruby Resolv library) and 19ff:0:febd in the
> output given by dig.
>
> This is an upstream bug. Does upstream have a tracker, or do I need
> to report this to nagios-users?
even if they moved their SCM to Github recently, the bugtracker is
actually at http://sourceforge.net/tracker/?group_id=29880&atid=397597
With kind regards, Jan.
- --
Never write mail to <waja at spamfalle.info>, you have been warned!
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V-
PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFPj7+p9u6Dud+QFyQRAu7vAJ9MieXqyV9BAgCrAWeCRsNhSNpw/gCfe7ba
BDZlSiKLGZOKTASPUS497ZA=
=ZDiX
-----END PGP SIGNATURE-----
More information about the Pkg-nagios-devel
mailing list