Skip to content

Nagios plugin to check validation status of a recursive name server

License

Notifications You must be signed in to change notification settings

verisign/check_recursive_validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

check_recursive_validation

Nagios plugin to check validation status of a recursive name server. The plugin assumes the recursive name server is configured for validation. It does not assume the name being queried is signed. In other words, the tool returns errors only for incorrectly signed names, but not for unsigned names.

The plugin sends one or more queries (./DNSKEY by default) to a recursive name server. If the first response comes back with NOERROR and AD=1, the plugin reports a validation SUCCESS. If the first response comes back with NOERROR and AD=0, it reports an unvalidated SUCCESS.

If the first response comes back as SERVFAIL, the plugin sends another query with CD=1. If the second response comes back, the plugin assumes the first error was due to a DNSSEC validation problem and it reports a CRITICAL error. However, if the second response also comes back as SERVFAIL, the plugin returns a WARNING for general resolution failure.

Timeouts generate a WARNING.

All other responses generate a CRITICAL error.

requirements

  • Perl
  • Net::DNS module (apt-get install libnet-dns-sec-perl in Debian/Ubuntu)

usage

define command {
 command_name    check-recursive-validation
 command_line    /usr/local/libexec/nagios-local/check_recursive_validation -H $HOSTADDRESS$
}
 
define service {
 name                dns-recursive-validation
 check_command       check-recursive-validation
 register            0
 ...
}
 
define service {
 use dns-recursive-validation
 host_name 127.0.0.1
}

About

Nagios plugin to check validation status of a recursive name server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages