[Nagiosplug-help] check_dns : Bug ?

Yoann LAMY yoannlamy at free.fr
Fri Jan 22 18:36:27 CET 2010


Please tries, ...

- ./check_dns -H www.google.com -s xxx.xxx.xxx.xx1 -v

/usr/bin/nslookup -sil www.google.com xxx.xxx.xxx.xx1
Server:         xxx.xxx.xxx.xx2
Address:        xxx.xxx.xxx.xx2#53

Non-authoritative answer:
www.google.com  canonical name = www.l.google.com.
Name:   www.l.google.com
Address: 74.125.39.106
Name:   www.l.google.com
Address: 74.125.39.147
Name:   www.l.google.com
Address: 74.125.39.99
Name:   www.l.google.com
Address: 74.125.39.103
Name:   www.l.google.com
Address: 74.125.39.104
Name:   www.l.google.com
Address: 74.125.39.105

DNS OK: 1,011 second response time. www.google.com returns 
74.125.39.103,74.125.39.104,74.125.39.105,74.125.39.106,74.125.39.147,74.125.39.99|time=1,010657s;;;0,000000




Le 22/01/2010 15:35, Holger Weiß a écrit :
> *<yoannlamy at free.fr>  [2010-01-22 15:23]:
>    
>> If the DNS server of the remote host is down, the check_dns plugin
>> seems to use the nameserver defined in /etc/resolv.conf on the nagios
>> server and then returns the OK State.
>>      
> Please read the output of "check_dns --help".
>
> | This plugin uses the nslookup program to obtain the IP address for the given
> | host/domain query. An optional DNS server to use may be specified. If no DNS
> | server is specified, the default server(s) specified in /etc/resolv.conf will
> | be used.
> |
> | [...]
> |
> |  -s, --server=HOST
> |     Optional DNS server you want to use for the lookup
> |
> | [...]
> |
> |  -A, --expect-authority
> |     Optionally expect the DNS server to be authoritative for the lookup
>
> [ http://nagiosplugins.org/man/check_dns ]
>
> Holger
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>    






More information about the Help mailing list