6.5 Domain Name Server Under Control

Two plugins are also available for testing the Domain Name Service (DNS): check_dns and check_dig. While check_dns tests whether a host name can be resolved, using the external nslookup program, check_dig allows any records at all to be queried. Both plugins are part of the standard distribution.

The situations in which they are used overlap somewhat. With check_dns, you can also explicitly query a specific DNS server, although this plugin is really for checking whether the name service is available generally.

Get Nagios, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.