This glibc patch was posted to the 6bone mailing list today. It allows the resolver to do the right thing WRT reverse lookups. The standard resolver will only resolve ip6.arpa addresses, but there is only an ip6.int reverse delegation for the 6bone, and there seems to be some question as to whether or not ip6.arpa will ever get used.
I don't know if this will ever get used, or if it's worth it for us to put up special builds of glibc on the IPv6 repository... But it might be useful to somebody. noah -- forwarded message -- From: "Todd T. Fries" <[EMAIL PROTECTED]> Message-ID: <mit.lcs.mail.6bone/[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: OpenBSD goober.mrleng.com 3.1 GENERIC X-PGP-Fingerprint: B6 3B 70 46 BC 0F 8C DD 14 D4 C7 D1 47 F6 23 FA X-URL: http://todd.fries.net X-Tra-Email: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] X-Im: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], {toddfries,[EMAIL PROTECTED] Subject: [6bone] glibc fix -> here <- Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-Beenthere: [email protected] X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: <mailto:[EMAIL PROTECTED]> List-Archive: <http://mailman.isi.edu/pipermail/6bone/> Date: Mon, 29 Jul 2002 09:34:19 -0500 Approved: [EMAIL PROTECTED] Distribution: local Newsgroups: mit.lcs.mail.6bone Organization: LCS Mail/News Gateway <[EMAIL PROTECTED]> Path: traf.lcs.mit.edu!listgate.lcs.mit.edu!mail-to-news X-Mail-Path: [EMAIL PROTECTED] X-Original-Sender: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Lines: 40 Xref: traf.lcs.mit.edu mit.lcs.mail.6bone:2291 Home net is down, apoligies for mailing the list, but here's your glibc fix adapted from KAME/NetBSD/OpenBSD applied against the latest tarball of glibc I could find (2.2.5): --- ChangeLog.orig Mon Jul 29 09:32:36 2002 +++ ChangeLog Mon Jul 29 09:34:07 2002 @@ -1,3 +1,8 @@ +2002-06-29 Todd Fries <[EMAIL PROTECTED]> + + * resolv/gethnamaddr.c: try ip6.int if ip6.arpa fails; code adapted + from KAME/NetBSD/OpenBSD libc. + 2002-01-18 Andreas Schwab <[EMAIL PROTECTED]> * sysdeps/unix/sysv/linux/configure.in --- gethnamaddr.c.orig Fri Oct 26 18:49:48 2001 +++ gethnamaddr.c Mon Jul 29 09:28:10 2002 @@ -696,6 +696,11 @@ abort(); } n = res_nquery(&_res, qbuf, C_IN, T_PTR, (u_char *)buf.buf, sizeof buf.buf); + if (n < 0 && af == AF_INET6) { + strcpy(qp, "ip6.int"); + n = res_nquery(&_res, qbuf, C_IN, T_PTR, (u_char *)buf.buf, sizeof buf.buf); + } + if (n < 0) { dprintf("res_nquery failed (%d)\n", n); if (errno == ECONNREFUSED) -- Todd Fries .. [EMAIL PROTECTED] (last updated $ToddFries: signature.p,v 1.2 2002/03/19 15:10:18 todd Exp $) _______________________________________________ 6bone mailing list [email protected] http://mailman.isi.edu/mailman/listinfo/6bone -- end of forwarded message -- -- Noah Meyerhans Computer Resource Services, MIT Laboratory for Computer Science -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

