[avahi] virtual hosts
lennart at poettering.net
Tue Nov 20 19:32:41 PST 2007
On Wed, 21.11.07 12:09, Trent Lloyd (lathiat at bur.st) wrote:
> Hi Bluejack,
> On 07/11/2007, at 4:03 AM, Bluejack wrote:
> > On Nov 5, 2007 2:57 PM, Bluejack <bluejack at bluejack.com> wrote:
> >> How do I publish an alias to a certain machine?
> >> Ie., I have 'foo.local' which also needs to be known as
> >> 'bar.local' ...
> >> Can avahi do this?
> > Should I assume the deafening silence means that I cannot publish
> > multiple names?
> You can do this with the /etc/avahi/hosts file. Alternatively you can
> use avahi-publish-host-name.
No, he cannot. Since he wants to define an alias, not a new
hostname. I.e. he only wants to register an A RR, no reverse PTR RR. But
if you stick something into /etc/avahi/hosts then it registers both,
and detects a collision if the PTR RR is non-unique, which would be the
case for an alias.
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the avahi