[avahi] Aliases

Tom Isaacson Tom.Isaacson at navico.com
Wed Nov 26 13:10:59 PST 2014


We did a patch for our product because we specifically didn't want any Avahi announcement on the aliases, only on eth0. It would be useful to have this functionality.

Tom

________________________________
From: avahi [avahi-bounces at lists.freedesktop.org] on behalf of Johannes Ernst [johannes.ernst at gmail.com]
Sent: Thursday, 27 November 2014 09:39
To: avahi at lists.freedesktop.org
Subject: [avahi] Aliases

I’m trying to figure out whether I’m up to adding aliases to Avahi. Would love some input on some of the below:

1. aliases should work rather similar to static hosts. Instead of reading /etc/avahi/hosts, it would read aliases, but in the same places in the control flow.

2. some people have implemented aliases outside of the avahi daemon, e.g. here: https://gist.github.com/gdamjan/3168336 Does this look correct?

3. --reload would also reload aliases. But: looking through reload_config() I’m confused why that routine only seems to invoke static_hosts_add_to_server() but not first static_hosts_remove_from_server()? Shouldn’t first get rid of the old values?

Would appreciate any input. Thanks,



Johannes.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20141126/0f6b1ae5/attachment.html>


More information about the avahi mailing list