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

pow.cx wanna be

Project Description

*.hostname.local dns resolver, pow.cx replacement wanna-be.

How to run eoe on Ubuntu 12.04 Precise

Make sure you have installed Twisted Names with aptitude:

sudo aptitude install python-twisted-names

Install eoe with pip command:

pip install eoe

Edit /etc/nsswitch.conf, hosts line to look like:

hosts: files mdns4 dns

You also need to edit /etc/NetworkManager/NetworkManager.conf file, comment out the line dns=dnsmasq:

# dns=dnsmasq

You now need to configure Network Manager:

  1. In the System menu, click Preferences, then click Network Connections.
  2. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
    • To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
  3. Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.
  4. If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
  5. In the DNS servers field, enter the following IP: 127.0.0.1.
  6. Click Apply to save the change. If you are prompted for a password or confirmation, type the password or provide confirmation.

Restart Network Manager:

#> service network-manager restart

Try running eoe:

#> eoe

If it fails it messaging telling that the port is occupied, you are screwed. The only way I know to make it work is to pkill dnsmasq thus in the crontab you also need to kill dnsmasq.

If you want to have eoe always running just add it to your crontab with @reboot as its time field:

#> sudo crontab -e

And then add the following line:

@reboot eoe

If you don’t launch eoe at boot time, you will need to run it yourself, when needed with the following command:

sudo eoe

When the eoe is not running you need to reconfigure network manager to use full dhcp.

Please take the time to read the documentation of avahi regarding the hosts trick.

This is really usefull if you deal with a lot of subdomains and that your network use dynamic IPs which change regularly.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
eoe-0.1.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Oct 9, 2012

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting