Re: [alto] Dnsdir telechat review of draft-ietf-alto-oam-yang-15

Jensen Zhang <jingxuan.n.zhang@gmail.com> Thu, 26 October 2023 12:45 UTC

Return-Path: <jingxuan.n.zhang@gmail.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FF71C151530; Thu, 26 Oct 2023 05:45:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.861
X-Spam-Level:
X-Spam-Status: No, score=-5.861 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NHFJKGGa12Dv; Thu, 26 Oct 2023 05:45:36 -0700 (PDT)
Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 964A8C15107A; Thu, 26 Oct 2023 05:45:31 -0700 (PDT)
Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-27d5c71b4d7so1529517a91.1; Thu, 26 Oct 2023 05:45:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698324330; x=1698929130; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WGpdR4AGbVs6w2Q0En9p119P1G8Rku+eJKIfx9xQGcg=; b=fBiyu2BB3j0FBPmTcDsQ8rscugthUN34QMxeKgxvVnRbuRicDkyNAHHl09LtbVudWn maB9AT1qbdEI499rEhEWhTo7DPwdqbDH+9mZZ0uH8hwbOzBQKkzHN58uwTe6mmFtNUwp rZBVWqhYXdEfd4kk7wHSJ3gXrxyIHGjIRY/HLyWLG2lCgkbiK/71JbGFJ9QjTYCqh8Nd lGd/yR1eRbeKNZ3ly+TLP1uv+TMW9QdqI4+Cn4VsxMuuTdL9qn+61X6Baem7/WNIjxHm MAFpmODuEdYDL05I3Ba+qTB5mtfVuvG2i6M1/WsTeSOVstCjzEqvQWGTg4ZVdzQB2cIf m4jA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698324330; x=1698929130; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WGpdR4AGbVs6w2Q0En9p119P1G8Rku+eJKIfx9xQGcg=; b=EuCicK6lxlbkA27z64cuK4jqn+z//dcYRLO725MorBMqWDQm3aClg8sAUyRs06bFG/ 2H4PyhaD3CyhPnvbLLGXDq28kFEUzATZWVTc753kAP4GVh7DxbJiVD1ild7geubZpqpy Zct17R3bg/euh7YQ35IgNAVSrspsOZT/T+QBc5Jb4pS2C83j+z/78e0GWjHwV9JajtTU G2R2Jt3BL7hnVf7UUZCcWpZb5tqi4L+tFOOLQMe8JIMQyBoU0/3OWhRHtXHke+H7sugl XKuC/YvSgqsDkAPnKEHDOGlCylRjVSEjm0kiF7MMI2/CTzmXWDBmterf/ppeTIb6TPxN 5Hrg==
X-Gm-Message-State: AOJu0YzsbeSoNNigYHddQ/CLfL93TfTm2hBbFzk3ZdC0P17jHa2v5gr8 tT8GbR0q2I+gyTF4NmgPSzumXS5mhIYl+7vLQSOsON0vwE5Tgg==
X-Google-Smtp-Source: AGHT+IF3A5dUuP1/trEovaip6Y/qgV3MXv+tCmN209laDQKsl7ETYWLr7BIqmY7k8DiHkYhqj9Ai+l9B3Y79roeVTmk=
X-Received: by 2002:a17:90a:f2c3:b0:27d:237b:5592 with SMTP id gt3-20020a17090af2c300b0027d237b5592mr3207241pjb.13.1698324330308; Thu, 26 Oct 2023 05:45:30 -0700 (PDT)
MIME-Version: 1.0
References: <169808661546.45653.348035276258481740@ietfa.amsl.com>
In-Reply-To: <169808661546.45653.348035276258481740@ietfa.amsl.com>
From: Jensen Zhang <jingxuan.n.zhang@gmail.com>
Date: Thu, 26 Oct 2023 20:45:18 +0800
Message-ID: <CAAbpuyr3Lc+fdGRJpYeONYJDEw5qbLG6EmGYqTwxvrQL4dCMsQ@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: dnsdir@ietf.org, alto@ietf.org, draft-ietf-alto-oam-yang.all@ietf.org, last-call@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006bec5606089df23c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/X7Kvr-9Y2QLBcBkCOICEKVF_Io4>
Subject: Re: [alto] Dnsdir telechat review of draft-ietf-alto-oam-yang-15
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Oct 2023 12:45:41 -0000

Hi Ted,

Thanks for the comments on the NAPTR-related part. It is very helpful.

To be more concrete, this "rdns-naptr-records" YANG node is to configure
DNS for the U-NAPTR lookup suggested by Sec 3.4 of RFC 8686 (
https://datatracker.ietf.org/doc/html/rfc8686#name-step-3-perform-dns-u-naptr-).
For example, if

- "198.51.100.0/24" is configured in "rdns-naptr-records/static-prefix"
- the "alto-server/base-uri" is set to "https://alto1.example.net"
- there is an ird resource configured in "alto-server/resource" with
resource-id named "ird"

then the following U-NAPTR record will be added:

100.51.198.IN-ADDR.ARPA.  IN NAPTR 100  10  "u"  "ALTO:https" "!.*!
https://alto1.example.net/ird!"  ""

Where the order value of 100 and the preference of 10 are determined by
default. They can be determined by some other advanced configuration and
algorithm, but it is out of the scope of this document.

Thanks,
Jensen


On Tue, Oct 24, 2023 at 2:43 AM Ted Lemon via Datatracker <noreply@ietf.org>
wrote:

> Reviewer: Ted Lemon
> Review result: Ready with Nits
>
> This is the third dnsdir review of this document. Previous reviews, done
> by a
> different reviewer, marked it as ready or ready with nits, on the basis
> that
> this document doesn't make any changes to how NAPTR is used, and that's the
> only DNS-related content in the document.
>
> I agree with this assessment. My one issue is that when I tried to actually
> understand, by reading this document and the two RFCs to which it
> referred, how
> the YANG model represents the NAPTR record, I failed. This may be because
> I'm
> not smart enough, or lack experience in ALTO and/or YANG (both of which are
> true).
>
> However, if the authors intend that I be able to understand from this
> document
> what part of the NAPTR record is represented by the data model, it might be
> worth revisiting whether the model in fact accomplishes this. In
> particular,
> NAPTR records contain quite a few fields, e.g. order and preference, and
> these
> fields are not mentioned in the YANG data model. No fields at all are,
> which
> makes me think that the data model is only representing one field, or
> perhaps
> represents the owner name of the NAPTR record and doesn't represent the
> NAPTR
> record's content at all.
>
> If the authors intended that this be understood from what is written
> there, I
> would encourage them to clarify the text. I'm calling this a nit rather
> than
> raising it as an issue because I'm assuming that the problem is on my end—I
> certainly didn't read the aforementioned RFCs closely. So perhaps someone
> who
> understands those RFCs better than I do would not be confused by the text
> in
> the data model document.
>
>
>