| Trent 'Lathiat' Lloyd (トレント) ( @ 2006-02-11 23:20:00 |
| Current mood: | |
| Current music: | Pendulum - Fasten your seatbelt |
| Entry tags: | avahi, zeroconf |
Avahi now supports static host mappings!
Tonight, I spent a few hours implementing static host mappings for Avahi, which Ross Burton will be happy about.
Essentially this is a file (/etc/avahi/hosts) which contains a list of host->ip mappings, the main purpose of this is to advertise a hostname for a device that isn't avahi-enabled.
e.g. if I want to advertise the http service of my router, it isn't much use as theres no hostname to point it at, now I add
192.168.0.1 router.local
to my hosts file, and put
in the .service file, and done :)
It's now in svn, changeset 1133, will be in the next release.