sweetns credit for the original implementation (https://gist.github.com/gleicon/1074124) goes to https://gist.github.com/gleicon . A redis powered DNS server based on Twisted. to start it: twistd -ny app.py