Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_dnsip

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2017-03-19
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Twitter Handle
@chipongue04
License
GPL
Hits
1766
Files:
FileDescription
check_dns.pycheck_dns.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This Nagios plugin monitors domain names and corresponding IP address, both passed as arguments, alerting with critical state if incompatibilities are verified. By default, Google DNS is used, however, optionally the user can set the DNS server that suits it.
Monitoring of correspondence between domain names and IP address associated

Domain name is a name associated with a physical IP address on the Internet, easy to remember. The Domain name server (DNS) is a distributed database, for name resolution, which uses intensive replication and caching to achieve high scalability and resilience to failures. However, it was not designed for malicious attacks such as caching poisoning. Cache Poison attacks compromise the integrity of the server because they occur when false information is injected into the cache of a DNS server, affecting the accuracy of DNS lookups, leading to which traffic destined to an IP address is routed to another.

This Nagios plugin monitors domain names and corresponding IP address, both passed as arguments, alerting with critical state if incompatibilities are verified. By default, Google DNS is used, however, optionally the user can set the DNS server that suits it.

Mandatory arguments: The following arguments must be specified when the module is executed:
-H or – host used to specify the domain name.
-I or – hostaddress used to specify the associated IP address, or that is expected to be associated or name specified in the-h argument.

Optional arguments: The following arguments are optionally invoked, as user needs:-V or – version used to query the module version.
-A or – author used to query the author's data.
-d or – dnsserver used to specify a DNS server where the query must be made, by default the Google DNS server (8.8.8.8) is used.

Command-Line Execution Example:
./check_dns.py -H https://exchange.nagios.org -I 198.224.42.133