This check tests a name server by resolving a domain name into a IP address and compares it with a given IP
DNS is the enclosing tag for domain names to check
0 or 1. If you don't define DNS, no dns check will run.
<DNS>
<HOSTNAME2RESOLVE>
<NAME>www.google.com</NAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
<NS>194.25.2.129</NS>
</HOSTNAME2RESOLVE>
<HOSTNAME2RESOLVE>
<NAME>www.heise.de</NAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
</HOSTNAME2RESOLVE>
</DNS>
Sometimes you have to configure your own nslookup command.
Every command you want. You should write something like "/x/y/z/nslookup $host $nameserver", because the dns check substitutes "$host" and "$nameserver" with the right values.
0 or 1.
<DNS>
<COMMAND>/specific/nslookup $host $ns</COMMAND>
<HOSTNAME2RESOLVE>
<NAME>www.google.com</NAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
<NS>194.25.2.129</NS>
</HOSTNAME2RESOLVE>
</DNS>
for every host you want to "lookup" you you define the HOSTNAME2RESOLVE-pair
The common XML tags as described in Section 9.8, “Tags Common to All Checks and/or Checkpoints”
As many as you like.
Look at DNS
use this entity when you want to specify (check) a other nameserver then the system-wide ns (in /etc/resolv.conf).
an IP-address
0 or 1. If you don't configure ns, the default nameserver of your system will be used (through nslookup)
<DNS>
<HOSTNAME2RESOLVE>
<NAME>www.google.com</NAME>
<ERRORLEVEL>ERROR</ERRORLEVEL>
<NS>194.25.2.129</NS>
</HOSTNAME2RESOLVE>
</DNS>