Re: [homenet] primary / secondary configuration

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 07 June 2019 20:48 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 182D712018F for <homenet@ietfa.amsl.com>; Fri, 7 Jun 2019 13:48:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.09
X-Spam-Level:
X-Spam-Status: No, score=-4.09 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_TRY_3LD=0.109] autolearn=ham autolearn_force=no
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 k8g97mTauK8F for <homenet@ietfa.amsl.com>; Fri, 7 Jun 2019 13:48:03 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E909E120161 for <homenet@ietf.org>; Fri, 7 Jun 2019 13:48:02 -0700 (PDT)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id CF7793818D for <homenet@ietf.org>; Fri, 7 Jun 2019 16:46:43 -0400 (EDT)
Received: by sandelman.ca (Postfix, from userid 179) id B0DC5F60; Fri, 7 Jun 2019 16:48:00 -0400 (EDT)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id AE7559B0 for <homenet@ietf.org>; Fri, 7 Jun 2019 16:48:00 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: homenet <homenet@ietf.org>
In-Reply-To: <CADZyTknGV8huQzVrQcJgFu82HGkOhBe9Q2f23bBXYT8-WOjtPg@mail.gmail.com>
References: <CADZyTknGV8huQzVrQcJgFu82HGkOhBe9Q2f23bBXYT8-WOjtPg@mail.gmail.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Fri, 07 Jun 2019 16:48:00 -0400
Message-ID: <20557.1559940480@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/wJ34fA9l2W3NXOFYNdFRrJ8LSq0>
Subject: Re: [homenet] primary / secondary configuration
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.29
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, 07 Jun 2019 20:48:05 -0000

Daniel Migault <daniel.migault@ericsson.com> wrote:
    > the zone with the outsourcing infrastructure. To build the zone some
    > elements of the infrastructure are needed such as the NS and IP for
    > example. One way to enable the transmission of information from the the
    > outsourcing infrastructure to the homenet is to use an well known fqdn
    > hna.example.com with an AXFR request. Does it sound reasonable ?

So, during setup phase, the HNA does the equivalent of:

    % dig @configuration-server myDEVICE.r.example.net axfr

and gets back:
    myDEVICE.r.example.net IN SOA mname foo bar ...
                           IN NS ns1.example.com
                           IN NS ns2.example.com
                           IN NS ns3.example.com

which it uses as it's template for building it's zone, which is then signed
and AXFR'ed back to the distribution-master using the normal mechanisms.

There are probably some high-level details that we haven't gotten into the
document yet, which are important for understanding.

We drew this diagram in our call today:
  https://github.com/ietf-homenet-wg/ietf-homenet-hna/blob/master/hna-dm-cfg.svg

although I see some example.com->example.net, and foo.com->example.com edits that I
should make.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-