Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A DNS server for mapping a dev TLD to localhost.

Project Description

It does one thing: maps a custom TLD (like .dev) to an IP (like

## Use

sudo devdns sudo devdns test sudo devdns dev

By default devdns maps the dev TLD to This is probably all most people will need. The first argument, if specified will set a custom TLD like test (www.myserver.test). The second argument allows you to specify an IP address, for example the address of a server on your LAN.

You need to run it as root because it uses port 53, the standard DNS port. Also you’ll want to add localhost ( to the top of your DNS server list. I recommend adding google’s DNS addresses ( and as backup servers.


## Credits

Much of this code was adopted from [minidns]( which itself borrowed heavily from [Francisco’s recipe](

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.4 kB) Copy SHA256 Hash SHA256
Source None Feb 2, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting