Re: [homenet] Status of draft-tldm-simple-homenet-naming CFA

Toke Høiland-Jørgensen <toke@toke.dk> Fri, 11 August 2017 12:48 UTC

Return-Path: <toke@toke.dk>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 008961324FB for <homenet@ietfa.amsl.com>; Fri, 11 Aug 2017 05:48:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=toke.dk
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4gUMgH7Yrsj7 for <homenet@ietfa.amsl.com>; Fri, 11 Aug 2017 05:48:25 -0700 (PDT)
Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 391A9132397 for <homenet@ietf.org>; Fri, 11 Aug 2017 05:48:21 -0700 (PDT)
From: Toke Høiland-Jørgensen <toke@toke.dk>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1502455697; bh=ooAxhYhmfyUbQCzxi7PH7f11IbFjc6dR4cWtZVnQRu4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fK/fPcDRznOiRcTTh3LmD9T4qybwJsJZsJMAs8LlM6XymnI3LuVR79Q+LtbrkfLNV W7Rpv5bdtRrr+SgrtcoJkL3kpOkLPv1tfd3mTpQyNZNloC4DNymGGv7RJzk6LqzJ/6 7LmB0rHEOel66SuBBLONanPbZAzKrSU9tP82352CRGbpiut1mSuDKzK5/UqonpmY+Z 79CaGIY4stfWOUkx1dARZudWgNZwoEHsWN8rQw/c3PgRZm+AvsS1rRBWo2Nd/ZzeEX TA1n4hiW3LKRwVDbqF7g4srMDb96M1eTENBkVpAlCMmOExE6bNX9iTVdp0n0/las6O QczrKDgKE5bLQ==
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Ted Lemon <mellon@fugue.com>, homenet@ietf.org
In-Reply-To: <87d182gv57.wl-jch@irif.fr>
References: <2D09D61DDFA73D4C884805CC7865E6114DBF5904@GAALPA1MSGUSRBF.ITServices.sbc.com> <20170810203843.xq7wxdxp27vqt4pz@mx4.yitter.info> <87wp6byvw5.fsf@toke.dk> <A9C8CA05-54A0-4160-B2F0-645744BD259E@fugue.com> <87poc3yt3d.fsf@toke.dk> <22E4B7B8-317F-4CBB-8536-D0AB345B0837@fugue.com> <87h8xez9ys.fsf@toke.dk> <87d182gv57.wl-jch@irif.fr>
Date: Fri, 11 Aug 2017 14:48:17 +0200
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87bmnmz2we.fsf@toke.dk>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/ZKBZQPEqYin9h74y9PECg6gm4aY>
Subject: Re: [homenet] Status of draft-tldm-simple-homenet-naming CFA
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Aug 2017 12:48:27 -0000

Juliusz Chroboczek <jch@irif.fr> writes:

>> 1a. Router A exports over HNCP that it supports MPvD. Router B forwards
>>     all queries to router A, using a source address in the same prefix
>>     as the original request was received from.
>
>> 1b. Router A exports over HNCP that it supports MPvD. Router B uses
>>     router A's address (which would need to be routable inside the
>>     homenet, obviously) as the DNS server in RAs.
>
> This has the significant advantage of not requiring a DNS proxy on each
> Homenet router.  It has the disadvantage of not requiring a DNS proxy on
> each Homenet router.
>
> I like it.
>
> (Aside: what's the fallback mode if there's no A in the network?  One
> could either advertise all of the ISPs' DNS servers in RAs, or advertise
> oneself notwithstanding no support for MPvD.  I guess both should be
> allowed.)

Yeah, or fallback to 2 (send queries to all upstreams and reply with the
union to the client). If you don't want to bother being MPvD-aware, you
just set N (the number of upstreams to wait for) to 1, and it turns into
a sort of happy eyeballs for DNS...

> (Second aside: what happens when there are multiple As in the network?
> One could either elect the "master" DNS server, so that all links use the
> same DNS proxy, or let each router pick one at random, so you get load
> balancing.  I guess only one should be allowed.)

I'd say don't bother with an election. All routers with the capability
are eligible as upstreams. Picking one at random is probably fine, but
not sure if we need to specify that? "Pick the first one you see" would
probably also work, as long as you update your choice if that router
goes away...

-Toke