Using the dummy0 interface for a local-only service to be broadcasted by Avahi

Philipp Kern pkern at ubuntu.com
Thu Dec 29 22:16:10 UTC 2016


On 12/29/2016 10:33 PM, Till Kamppeter wrote:
> Is there a way to make a local Zeroconf host name get assigned to this
> IPv6 IP address?

This feels impossible to me as no-one added scope IDs to DNS. There is
no way for the stack to pick the right interface to use without that
information. Note that ::1 would not be affected by this[0].

I thought with the introduction of %25 as the canonical separator the
issue was settled on how to address link-local addresses. Turns out
that's not the case and browsers intentionally do not support it
(Firefox bug[0], Chrome bug[1], WHATWG URL spec bug[2]).

Kind regards
Philipp Kern

[0] I understand the need for differences between IPv4 and IPv6 but I
still don't understand why - of all the things - localhost was limited
to a single /128 address, whereas it's a /8 on IPv4. Which means that
there's also a port conflict gamble going on there.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=700999
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=70762
[3] https://www.w3.org/Bugs/Public/show_bug.cgi?id=27234




More information about the ubuntu-devel mailing list