https://github.com/danp/dns-canary
https://github.com/danp/dns-canary
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danp/dns-canary
- Owner: danp
- Created: 2013-10-07T17:32:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-31T17:57:45.000Z (over 11 years ago)
- Last Synced: 2025-01-28T20:57:37.369Z (over 1 year ago)
- Language: Go
- Size: 228 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dns-canary
Run repeated DNS queries against a specific cache or the first one named in `/etc/resolv.conf` and emit success/error metrics.
## Configuration
dns-canary is configured via the environment. The variables it looks for:
* `NAMES`: a `,`-separated list of names to query for
* `INTERVAL`: how often to query each name in `NAMES`, needs to be acceptable for [`time.ParseDuration`](http://golang.org/pkg/time/#ParseDuration)
* `SERVER`: if specified, use the named server at `:`. If unspecified, the first server in `/etc/resolv.conf` is used