[Nagiosplug-help] check_dns : Bug ?

Holger Weiß holger at CIS.FU-Berlin.DE
Fri Jan 22 15:35:49 CET 2010


* <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




More information about the Help mailing list