skip to navigation
skip to content

Not Logged In

eoe 0.1

pow.cx wanna be

Latest Version: 0.1.1

*.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 <http://avahi.org/wiki/AvahiAndUnicastDotLocal#Workarounds> 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.

 
  • Downloads (All Versions):
  • 18 downloads in the last day
  • 37 downloads in the last week
  • 163 downloads in the last month