Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NorfairKing/dnscheck
A quick, declarative DNS checker to run continuously for monitoring.
https://github.com/NorfairKing/dnscheck
Last synced: 24 days ago
JSON representation
A quick, declarative DNS checker to run continuously for monitoring.
- Host: GitHub
- URL: https://github.com/NorfairKing/dnscheck
- Owner: NorfairKing
- Created: 2020-09-30T08:54:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T12:43:47.000Z (8 months ago)
- Last Synced: 2024-05-01T12:37:40.708Z (8 months ago)
- Language: Haskell
- Size: 154 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 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.
```2. 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](./example.png)
See the 'examples' directory for more example specifications.
## Running on NixOS
Have a look at [the provided nixos module](/nix/module.nix)