Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danp/dns-canary


https://github.com/danp/dns-canary

Last synced: 26 days ago
JSON representation

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