Monitor domains for DNS status changes.
- Tested in python 3.4. Will probably work on python 3.x. Surely not on python 2.x, deal with it.
- mongodb + pymongo
- Setup python3.4
'sudo apt-get install python3.4' on debian-like OS)
- Setup mongodb
('sudo apt-get install mongodb' on debian-like OS)
- Install this package
'pip install -r requirements.txt -e /path/to/this/package'
- Optional: Install supervisord script
Supervisord is awesome for running shit as daemon service.
'sudo apt-get install supervisor'
'cp dns-monitor/supervisor.conf /etc/supervisor/conf.d/dnsmon.conf'
Edit the supervisor conf file to your needs.
Dnsmon consists of a monitoring service and a web interface. Both can be started by the cli.py script using the subcommand (webapp | monitor).
python3 dnsmon/cli.py webapp
python3 dnsmon/cli.py monitor
Use -h switch for help on cli.py or any of the subcommands.