[Nagiosplug-devel] Bug in check_dns

Jean-Michel Repond Jean-Michel.Repond at bger.ch
Thu Feb 24 15:58:47 CET 2011


Here the Verbose full output:
./check_dns -H time.bger.admin.ch -s 1.1.1.1 -vvv
/usr/sbin/nslookup -sil time.bger.admin.ch 1.1.1.1
Server:         10.174.4.31
Address:        10.174.4.31#53

time.bger.admin.ch      canonical name = sunh.bger.admin.ch.
Name:   sunh.bger.admin.ch
Address: 10.174.4.31

DNS OK: 1.033 second response time. time.bger.admin.ch returns
10.174.4.31|time=1.033149s;;;0.000000


Le jeudi 24 février 2011 à 07:42 -0500, Thomas Guyot-Sionnest a écrit :
> -----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-----
> 
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in 
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
-- 
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