Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danp/dns-canary
https://github.com/danp/dns-canary
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/danp/dns-canary
- Owner: danp
- Created: 2013-10-07T17:32:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-31T17:57:45.000Z (about 10 years ago)
- Last Synced: 2023-04-12T16:10:57.818Z (over 1 year ago)
- Language: Go
- Size: 228 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- 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