Re: Link-local IPv6 addresses in the DNS

Philip Homburg <pch-6man-1a@u-1.phicoh.com> Tue, 22 November 2011 16:35 UTC

Return-Path: <pch-b29AA871B@u-1.phicoh.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6ED321F8BCD for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 08:35:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level:
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fIsSKdxkI5TB for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 08:35:06 -0800 (PST)
Received: from stereo.hq.phicoh.net (stereo.hq.phicoh.net [130.37.15.35]) by ietfa.amsl.com (Postfix) with ESMTP id D9CF821F8BAB for <ipv6@ietf.org>; Tue, 22 Nov 2011 08:35:05 -0800 (PST)
Received: from stereo.hq.phicoh.net (localhost [::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (Smail #76) id m1RStJG-0001jCC; Tue, 22 Nov 2011 17:35:02 +0100
Message-Id: <m1RStJG-0001jCC@stereo.hq.phicoh.net>
To: Mark Andrews <marka@isc.org>
Subject: Re: Link-local IPv6 addresses in the DNS
From: Philip Homburg <pch-6man-1a@u-1.phicoh.com>
Sender: pch-b29AA871B@u-1.phicoh.com
In-reply-to: Your message of "Tue, 22 Nov 2011 14:30:03 +1100 ." <20111122033003.B6D1817DF522@drugs.dv.isc.org>
Date: Tue, 22 Nov 2011 17:34:49 +0100
X-Mailman-Approved-At: Tue, 22 Nov 2011 08:41:58 -0800
Cc: Tomoyuki Sahara <sahara@surt.net>, 6man <ipv6@ietf.org>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Kerry Lynn <kerlyn2001@gmail.com>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Nov 2011 16:35:06 -0000

In your letter dated Tue, 22 Nov 2011 14:30:03 +1100 you wrote:
>On a related issue to link locals in URI's, we don't currently have
>a good method of supporting link locals in the DNS.  Sure we can
>add them as AAAA records but they are essentially useless as the
>scope information is lost.  People keep saying use LL for disconnected
>but it just doesn't work without more support.

For disconnected operation, why not have getaddrinfo fill in the scope?
Just set it to the interface over which the DNS reply arrived. 

I have to admit that this may become a bit tricky if the DNS resolver is local
or if interface information is lost in some other way.