/dns-reactor

Monitors hostname(s) for IP changes and optionally execute a command when it happens.

Primary LanguageGoMIT LicenseMIT

dns-reactor

Monitors one or more hostnames for IP changes, and (optionally) execute a command.

Usage

dns-reactor -interval 30 -execute "service haproxy reload" github.com

This would check the IP of github.com every 30 seconds, and execute service haproxy reload if it has changed since last check.

License

MIT

Contributors