[avahi] Is it possible to have multiple names for a host

Lennart Poettering lennart at poettering.net
Sun Apr 19 16:33:30 PDT 2009


On Tue, 14.04.09 12:21, Alan Chandler (alan at chandlerfamily.org.uk) wrote:

> 
> On Monday 13 April 2009, Alan Chandler wrote:
> 
> > Is it possible therefore, for each machine to define for itself
> > several names to be resolved within the .local domain?  If so how.
> 
> I tried several experiments with both the /etc/avahi/avahi-daemon.conf 
> file (using multiple host-name= lines) and the /etc/avahi/hosts file, 
> and I can't seem to allocate more than one name to a single ip address.  
> The hosts file doesn't support aliases (despite the man page saying it 
> is similar to the /etc/hosts file) nor repeating the ip address on 
> multiple lines and adding just one name per line
> 
> Any other ideas?

There has beena bug open for this for some time:

http://avahi.org/ticket/101

But so far nobody has stepped up to do anything about this. Sorry.

Patches always welcome!

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the avahi mailing list