Home Directory Plugins Network Protocols DNS check_dns.pl (Advanced Nagios Plugins Collection)

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

Directory Tree

check_dns.pl (Advanced Nagios Plugins Collection) Popular

Rating
1 vote
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
795120
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Checks DNS records including A, NS and MX records for domains
which the standard check_dns Nagios plugin can't do
Part of the Advanced Nagios Plugins Collection, download it here:

https://github.com/harisekhon/nagios-plugins

./check_dns.pl --help

Nagios Plugin to test a DNS record

Primarily written to check things like NS and MX records for domains
which the standard check_dns Nagios plugin can't do

usage: check_dns.pl [ options ]

-s --server DNS server(s) to query, can be a comma separated list of servers
-r --record DNS record to query
-q --type DNS query type (defaults to 'A' record)
-e --expected-result Expected results, comma separated
-R --expected-regex Expected regex to validate against each returned result
--no-uniq-results Test and display all results, not only unique results
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
Reviews (1)
byklaypigeon, February 11, 2021
1 of 1 people found this review helpful
Install notes would be helpful.
First had to install perl-Net-DNS, then ran into problem with:
use HariSekhonUtils
No idea what that is or where it is, not taking the time to dig.