Re: Link-local IPv6 addresses in the DNS

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 22 November 2011 21:09 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 BA73A21F8770 for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 13:09:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.499
X-Spam-Level:
X-Spam-Status: No, score=-104.499 tagged_above=-999 required=5 tests=[AWL=1.100, 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 H3Xcoa9aJk6f for <ipv6@ietfa.amsl.com>; Tue, 22 Nov 2011 13:09:58 -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 9A24921F8753 for <ipv6@ietf.org>; Tue, 22 Nov 2011 13:09:57 -0800 (PST)
Received: by ywt34 with SMTP id 34so733198ywt.31 for <ipv6@ietf.org>; Tue, 22 Nov 2011 13:09:57 -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=762v6eFeGs8/TWJ6jwNCCD4anun4okQwAGz845faGV4=; b=FjNxJoEAb6QwosCDwiQG5xXsNoyWpFQpiaQB671UITnTpwtkiRMxt1hSmotVezYR+I 28K5EoYp7tt5q111KdCjz2sWrEC65NmGsPz/+AuWttNaDgSbpkpkCvkJvOqd2KdjKwwk yfuOVeLEaBvlOoQVOLeMBr5zmP7xScM7Zcy1Y=
Received: by 10.213.109.15 with SMTP id h15mr1789588ebp.70.1321995185397; Tue, 22 Nov 2011 12:53:05 -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 5sm45302086eev.2.2011.11.22.12.53.01 (version=SSLv3 cipher=OTHER); Tue, 22 Nov 2011 12:53:04 -0800 (PST)
Message-ID: <4ECC0BAB.4040401@gmail.com>
Date: Wed, 23 Nov 2011 09:52:59 +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: Philip Homburg <pch-6man-1a@u-1.phicoh.com>
Subject: Re: Link-local IPv6 addresses in the DNS
References: <m1RStJG-0001jCC@stereo.hq.phicoh.net>
In-Reply-To: <m1RStJG-0001jCC@stereo.hq.phicoh.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: Tomoyuki Sahara <sahara@surt.net>, 6man <ipv6@ietf.org>, Mark Andrews <marka@isc.org>, 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 21:09:58 -0000

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.

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