Giter Club home page Giter Club logo

icinga-check-dnssec-validation's Introduction

check_dnssec_validation.py

An extremely short Nagios/Icinga script to validate the DNSSEC chain of trust. It does so by querying for the SOA record of a zone and validating the records.

As this script validates the chain of trust, it is possible it will report DNSSEC failures for domains that are not the domain's operator's fault. e.g. A DNSSEC issue with the top-level domain will cause an alert.

Usage

This script is meant to be invoked by Nagios or Icinga and has the following states:

  • OK: DNSSEC chain was validated
  • WARNING: the DNSSEC validation result was insecure (but not bogus)
  • CRITICAL: the DNSSEC validation result was bogus

This script has 2 options:

  • -z ZONE -- Specifies the zone to be checked, mandatory option
  • --insecure-is-ok -- When the result of the check is insecure, the state is OK and not WARNING

TODO

This script is very simple and works in most cases to detect errors in the DNSSEC validation chain. It could use the following:

  • Base the check on python-nagios
  • Configurable location for the root trust anchor
  • Checking the signatures from all nameservers in the final NSSet
  • Checking all signatures from all nameservers (might be slow/expensive and not nice to TLD/root operators)
  • Stop relying on python-unbound (as it is not generally available on e.. Arch) and use dnspython

icinga-check-dnssec-validation's People

Contributors

foxxx0 avatar pieterlexis avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.