Re: Link-local IPv6 addresses in the DNS

Kerry Lynn <kerlyn2001@gmail.com> Tue, 22 November 2011 22:09 UTC

Return-Path: <kerlyn2001@gmail.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 7ECB421F85AE for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 14:09:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.665
X-Spam-Level:
X-Spam-Status: No, score=-4.665 tagged_above=-999 required=5 tests=[AWL=0.933, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 QsYFg5dMJVka for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 14:09:30 -0800 (PST)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by ietfa.amsl.com (Postfix) with ESMTP id 8048F21F85AA for <ipv6@ietf.org>; Tue, 22 Nov 2011 14:09:30 -0800 (PST)
Received: by ywt34 with SMTP id 34so790533ywt.31 for <ipv6@ietf.org>; Tue, 22 Nov 2011 14:09:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OEWrdvPVp7kLqbBgMGauLb3wB14A0LwTGwjOs2eWKH8=; b=R7aWzpxq7f1fUPTIKT9wEWVgZb2499HU+qqFv7Fj+1RJdBksYUwVvXjQeDRTL1qsqA dc9lSZ2qx5EGV/+gJD8qM79kCW9Wzs5wVlpgrCSDLym7SmZCqCQyVpUXtqKgnqei9ofp DD5ANFD/k08ejII4gYN/2eEZCcKZjTDRPV+fw=
MIME-Version: 1.0
Received: by 10.213.17.145 with SMTP id s17mr1718392eba.14.1321999769470; Tue, 22 Nov 2011 14:09:29 -0800 (PST)
Received: by 10.14.7.80 with HTTP; Tue, 22 Nov 2011 14:09:29 -0800 (PST)
In-Reply-To: <CABOxzu3Xd=0iXauAUCO0ZeqjwZah8_+OE3n_TuLhTNZpT9BoUw@mail.gmail.com>
References: <m1RStJG-0001jCC@stereo.hq.phicoh.net> <4ECC0BAB.4040401@gmail.com> <CABOxzu3Xd=0iXauAUCO0ZeqjwZah8_+OE3n_TuLhTNZpT9BoUw@mail.gmail.com>
Date: Tue, 22 Nov 2011 17:09:29 -0500
Message-ID: <CABOxzu1j=YUJ+ioS_VGzJvma__amyf74_RoSEuLc6qD6MXizLA@mail.gmail.com>
Subject: Re: Link-local IPv6 addresses in the DNS
From: Kerry Lynn <kerlyn2001@gmail.com>
To: Mark Andrews <marka@isc.org>
Content-Type: multipart/alternative; boundary="0015174c3422a7092104b25a0e56"
X-Mailman-Approved-At: Wed, 23 Nov 2011 05:29:02 -0800
Cc: 6man <ipv6@ietf.org>, Philip Homburg <pch-6man-1a@u-1.phicoh.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Tomoyuki Sahara <sahara@surt.net>
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 22:09:31 -0000

On Tue, Nov 22, 2011 at 4:56 PM, Kerry Lynn <kerlyn2001@gmail.com> wrote:

>
> On Tue, Nov 22, 2011 at 3:52 PM, Brian E Carpenter <
> brian.e.carpenter@gmail.com> wrote:
>
>> On 2011-11-23 05:34, Philip Homburg wrote:
>> > 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.
>>
>> Other people keep saying "use ULA for disconnected". The fact
>> that you can put ULA into (er, local) DNS without any fancy
>> stuff is a distinct advantage.
>>
>> IMHO link-local should be used only for bootstrapping a host and
>> for diagnostic purposes. I guess I could statically configure a
>> printer on fe00::a%1 if I really had no choice.
>>
>> BTW, I realized this whole conversation is probably re: local host files
just after I hit the "send" button ;-)


> This is a distinctly different problem than the one that kicked off the
> link-
> local discussion.  In the web browser case, you know the link-local
> destination address of the server a priori but it only has validity with
> respect to a particular link, and there's no way to indicate the zone
> index to the browser (assuming multi-homed client here).  The once-
> existing capability was removed because there is no RFC support for it.
>
> The DNS case seems like a server-side issue.  In the case of link-
> local adresses stored in AAAA records, the zone index would seem to
> indicate the corresponding interface with respect to the *server* (assuming
> a multi-homed server here).  What's more, the DNS server would need to
> keep track of the interface on which the query arrived and only respond
> with a link-local address if the client and server are on the same
> interface.
>
> Some additional observations:
> - If you want to stay with link-local addresses then perhaps multicast
>   DNS is the best solution for you.
> - If you want to stay with unicast DNS, then ULAs have the advantage
>   of being routable and the problem goes away.
> - If you want to stay with link-local addresses *and* DNS, then perhaps
>   you need to engage dnsext WG to discuss the server-side issues.
>
> -K-
>
>
>   Brian
>>
>> >
>> > 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.
>> >
>> >
>>
>
>