2014-06-23 23:27 GMT+04:00 Simon McVittie <simon.mcvit...@collabora.co.uk>: > It sounds as though you have a misconfigured nss_mdns: you should > reconfigure nsswitch.conf to have mdns4_minimal [NOTFOUND=return], or > maybe mdns_minimal [NOTFOUND=return], but not mdns4 or mdns. New > installations of Debian's libnss-mdns do this: > > hosts: files mdns4_minimal [NOTFOUND=return] dns >
_minimal have bugs and very ugly code. For example it send multicast only via first interface that up. But i have first interface private with virtualbox and need multicast on second.. > (perhaps with some extra resolvers like Lennart's "myhostname", but what > I quoted is the minimum) and that gets rid of the 5 second delay, at the > cost of not using mDNS for PTR lookups of addresses outside the > link-local 169.254.0.0/16 and fe80::/16 blocks. > > I've wondered whether to implement an extended syntax for > /etc/mdns.allow so you can do something like > > # /etc/mdns.allow > .lan. > .lan > .local. > .local > ptr 169.254.0.0/16 > ptr 192.168.0.0/24 > ptr fe80::/16 > > but haven't got round to it so far. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel