Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
gevent and twisted based customizable DNS servers
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Python, DNS and Redis


Simple servers to deliver customized DNS data. These servers rely on Redis as storage backend. If the data isn't on redis, they will use the configured DNS to resolve and answer back. These servers can be used to intercept queries, test devices that have no accessible resolv.conf, etc There are two versions with gevent or twisted. Make sure the user you run these daemons can bind to port 53.


There is a CLI to ease inserting new hosts

python add host ip
python del host

gevent version


twisted version

python tx_dns.tac

test and usage

$ sudo python

$ dig
$ dig @
$ python add
$ dig @
Something went wrong with that request. Please try again.