[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#455671: libc6: Please support fe80::[...]%eth0-like nameservers in /etc/resolv.conf



tag 455671 + upstream
thanks

Pierre Ynard a écrit :
> Package: libc6
> Version: 2.7-4
> Severity: wishlist
> Tags: patch
> 
> It seems that glibc's resolver does not support IPv6 link-local
> addresses with an explicit scope (like fe80::[...]%eth0), in the
> nameserver options in /etc/resolv.conf. Currently, nameservers with a
> scope fail to be parsed. Nameservers with a link-local address (without
> scope) are parsed and used, but obviously do not work (connect() fails
> with EINVAL because a sin6_scope_id of 0 is used with the link-local
> address).
> 
> With the apparition of the new RDNSS option (RFC5006), which allows
> for DNS configuration through stateless autoconf, we expect that IPv6
> link-local resolvers may be used, and set into /etc/resolv.conf.
> Kernel-side support is included in Linux 2.6.24, and the corresponding
> userland RDNSS daemon is currently under development and will be shipped
> in the next release of the ndisc6 package. We would need glibc to
> support this feature to integrate our work.
> 
> Please review this patch, and consider it for application and submission
> to upstream.
> 

I don't think such a patch, involving the kernel, a userland daemon and
changes into glibc, should be integrated into Debian if it has not been
integrated upstream. I believe such things should be standardized a
minimum, so that all distributions share the same implementation.

Please submit this patch upstream (http://sources.redhat.com/bugzilla/)
 and when it has been merged, we will backport changes from CVS.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net




Reply to: