[Nagiosplug-devel] Bug in check_dns

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Feb 24 13:42:11 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-02-23 11:35 AM, Jean-Michel Repond wrote:
> 
> Hi,
> 
> I think there is a problem with check_dns plugin.
> This plugin return OK even if I check on a server without DNS server!
> 
> # ./check_dns -V
> check_dns v1.4.15 (nagios-plugins 1.4.15)
> 
> # ./check_dns -H time.bger.admin.ch -s 162.23.196.145
> DNS OK: 1.023 second response time. time.bger.admin.ch returns
> 10.174.4.31|time=1.022943s;;;0.000000
> 
> # nslookup
>> server 162.23.196.145
> Default server: 162.23.196.145
> Address: 162.23.196.145#53
>> time.bger.admin.ch
> ;; connection timed out; no servers could be reached

Can you please run check_dns in debug mode (add -vvv to the command
line) and post the full output?

Thanks

- -- 
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1mUh0ACgkQ6dZ+Kt5Bchb9NACgyP/I7cQQNdB7E9iGjh0G83OV
zNQAoLXqBZ2p5w5Fa1hYkuXTTaZPd8Y5
=jTUH
-----END PGP SIGNATURE-----




More information about the Devel mailing list