Tuesday, September 8, 2009

Getting distributed DNS in a LAN

If you are running a Debian-based distribution, just run the following command:

apt-get install avahi-dameon

Once you have it installed, you can ping machines on your LAN by their hostname and the .local suffix, for example:

ping hostname.local

Red-Hat based distributions usually have a firewall enabled, remember to allow port 5353 (mDNS). (system-config-firewall on Fedora)

You now have a distributed multicast-based DNS service on your local network based on Zero-Conf technology. You can find more information at

http://en.wikipedia.org/wiki/Avahi_(software)
http://avahi.org/

No comments:

Post a Comment