Using avahi and nss-mdns to do lookups of machine.local. The IPv6 network is only link-local addresses. The correct link-local address is reported, but nss-mdns does not pass the interface (necessary for a scoped link-local address) it was received on to nss. Reproducible: Always Steps to Reproduce: 1. ping6 machine.local Actual Results: connect: Invalid argument Expected Results: successful ping nss-mdns should give a proper scoped link-local address
Debian bug #644912 has a patch which applies cleanly to 0.10. https://bugs.debian.org/644912 It acts oddly though. `ssh -vv machine.local` *does* get a scoped link-local ipv6 These do *not* resolve to a scoped link-local, just the link-local. `ping6 machine.local` `ssh -6vv machine.local` `getent hosts machine.local` `avahi-resolve-host-name machine.local`
My nsswitch.conf "hosts" line: > files mdns_minimal [NOTFOUND=return] dns mdns
committer Amy Winston <amynka@gentoo.org> 2016-05-29 18:57:29 (GMT) commit 75e23df8c331b7498d1f27a82bf0d048f627bb3d sys-auth/nss-mdns: revbump, add ipv6 patch bug #584286 Thank you. Amy