DNS Historian

DNS Historian takes a hostname, periodically looks up common record types (NS, MX, A, TXT, CNAME, AAAA) and saves the result as flatfiles in json format. It's GPL2 licensed!

Latest Version: Master

Simple to Use

Add a domain:
$ curl -X POST -H "Content-Type: application/json" \
-d '{"hostname":"example.com"}' http://localhost:5000/write.json
Retrieve a domain:
$ curl -X POST -H "Content-Type: application/json" \
-d '{"hostname":"example.com"}' http://localhost:5000/read.json

And Easy to Setup

$ pip install flask dnspython requests
$ python dns-historian.py
 * Running on http://localhost:5000/
Monitor changes:
$ python updater.py
 updating: example.com
 response: {"message": "success"}
 Retrieving fresh directory listing and starting update again...


Fork me on GitHub