[Nagiosplug-devel] Bug in check_dns

Jean-Michel Repond Jean-Michel.Repond at bger.ch
Wed Feb 23 17:35:22 CET 2011


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
-- 
Tribunal Federal Suisse
Repond Jean-Michel
Service Informatique
Av. du Tribunal Federal 29
1000 Lausanne 14

email : Jean-Michel.Repond at bger.ch
Tel   : +41 (21) 318 98 72
Fax   : +41 (21) 323 37 00





More information about the Devel mailing list