pow.cx wanna be
*.hostname.local dns resolver, pow.cx replacement wanna-be.
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:
You now need to configure Network Manager:
Restart Network Manager:
#> service network-manager restart
Try running 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:
If you don’t launch eoe at boot time, you will need to run it yourself, when needed with the following command:
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.