Re: Link-local IPv6 addresses in the DNS

Brian E Carpenter <brian.e.carpenter@gmail.com> Wed, 23 November 2011 00:03 UTC

Return-Path: <brian.e.carpenter@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 344F31F0C73 for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 16:03:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.517
X-Spam-Level:
X-Spam-Status: No, score=-104.517 tagged_above=-999 required=5 tests=[AWL=1.082, BAYES_00=-2.599, GB_I_LETTER=-2, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 paujPN8X+Dct for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 16:03:13 -0800 (PST)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 7930C1F0C6E for <ipv6@ietf.org>; Tue, 22 Nov 2011 16:03:13 -0800 (PST)
Received: by vcbfy13 with SMTP id fy13so970825vcb.31 for <ipv6@ietf.org>; Tue, 22 Nov 2011 16:03:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Z42uPdqLNE9rizU6SUofZXpAcVEUVOvQ42tS0UtIOzg=; b=MusE4YyBQeJWC3By9dYZ++bHkO96llC7gsiBnPB0XIsnEiZlUV5nr6p0NkM0cgMtfQ XGJ/HPrjhq3ignUXbkG1aLP8q/yjVRVWuPy+LQ3tdCd752KNBnks34sVYBE8d301TPYU eE47zuK8n1QcxcIDqv4OO+gpANQQJxYNXfh9I=
Received: by 10.220.150.142 with SMTP id y14mr1539414vcv.269.1322006592924; Tue, 22 Nov 2011 16:03:12 -0800 (PST)
Received: from [130.216.38.124] (stf-brian.sfac.auckland.ac.nz. [130.216.38.124]) by mx.google.com with ESMTPS id eo2sm13160732vdb.5.2011.11.22.16.03.10 (version=SSLv3 cipher=OTHER); Tue, 22 Nov 2011 16:03:12 -0800 (PST)
Message-ID: <4ECC3846.9080708@gmail.com>
Date: Wed, 23 Nov 2011 13:03:18 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Kerry Lynn <kerlyn2001@gmail.com>
Subject: Re: Link-local IPv6 addresses in the DNS
References: <m1RStJG-0001jCC@stereo.hq.phicoh.net> <4ECC0BAB.4040401@gmail.com> <CABOxzu3Xd=0iXauAUCO0ZeqjwZah8_+OE3n_TuLhTNZpT9BoUw@mail.gmail.com>
In-Reply-To: <CABOxzu3Xd=0iXauAUCO0ZeqjwZah8_+OE3n_TuLhTNZpT9BoUw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: 6man <ipv6@ietf.org>
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: Wed, 23 Nov 2011 00:03:14 -0000

Kerry,

> 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).

Which is completely and utterly irrelevant to any host except
that one particular physical DNS server. So I don't see what
possible use it has for anyone.

Regards
   Brian

On 2011-11-23 10:56, Kerry Lynn 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.
>>
>> 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.
>>>
>>>
>