Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  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](

Project details

Download files

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

Files for devdns, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size devdns-0.1.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page