[systemd-devel] plans/roadmap for mdns support in resolved
Vasiliy Tolstov
v.tolstov at selfip.ru
Thu Nov 20 14:24:48 PST 2014
2014-11-20 15:22 GMT+03:00 Lennart Poettering <lennart at poettering.net>:
> Both LLMNR and mDNS are strictly per-link, they will not announce IP
> addresses that are not on the very link that is used for traffic. That
> means if you have eth0 then the hostname will be announced with eth0's
> set of addersses on it. If you have eth1, then the hostname will be
> announced with only eth1's addresses. And similar for dummy0's
> addresses, or any other interface's.
>
> Also note that LLMNR/mDNS only works on interfaces that provide
> multicasting, i.e. only those which appear in "ip link" with the
> MULTICAST flag set.
>
> I am not sure I grok what you are trying to do, but do note that you
> can easily add an additional address to any interface you like,
> including the same address to multiple links. This means to make
> resolved announce a specific address via LLMNR/mDNS is just a matter
> of adding it to the interface via "ip addr add".
My use case is useful when i have ecmp routing for dummy0 address (yes
it have multicast option). In this case on other nodes this address
available via two routing entries with equal cost.
Why not add ability to advertise hostname based on one interface
addresses, but use for communication another devices (in my case eth0,
eth1).
--
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru
More information about the systemd-devel
mailing list