Skip to content

A quick, declarative DNS checker to run continuously for monitoring.

Notifications You must be signed in to change notification settings

kitnil/dnscheck

 
 

Repository files navigation

DNSCheck

A declarative DNS checker to run continuously for monitoring.

This way you can make sure that you've set your DNS records correctly, and that they do not somehow disappear.

  1. Write a spec file spec.yaml like this:
checks:
- type: a
  domain: cs-syd.eu
  ip: 52.211.121.166
- type: mx
  domain: cs-syd.eu
  values:
    - 10 in1-smtp.messagingengine.com.
    - 20 in2-smtp.messagingengine.com.
  1. Run dnscheck spec.yaml

    The exit code will be 1 if any of the specified DNS records do not match what has been looked up, and the output will look like this:

    Example output

See the 'examples' directory for more example specifications.

Running on NixOS

Have a look at the provided nixos module

About

A quick, declarative DNS checker to run continuously for monitoring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 63.0%
  • Nix 36.2%
  • Shell 0.8%