Re: [core] Dnsdir early review of draft-ietf-core-dns-over-coap-01

Tim Wicinski <tjw.ietf@gmail.com> Sat, 21 January 2023 03:13 UTC

Return-Path: <tjw.ietf@gmail.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 333D8C14EB1A; Fri, 20 Jan 2023 19:13:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 ci20bkrwmkCi; Fri, 20 Jan 2023 19:13:23 -0800 (PST)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 94746C1524B5; Fri, 20 Jan 2023 19:13:23 -0800 (PST)
Received: by mail-ed1-x532.google.com with SMTP id v30so8802712edb.9; Fri, 20 Jan 2023 19:13:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s4ahjakQqdXllqWjfJeLeqX21u/dY2bi6B+I8H3Duxc=; b=jBhb32Yx5OF6OFRwgslfYrOkZAMb163TGkrg9pGhOxsck3YoAMA98TqPxEQZ4bvewg ahk7EChgIBsv/t5ijMS/wESb8oK05VMXuARJcgcfZCi52Y4hmZAiYeb0JhDMUrH9o7A4 wkOiqjk7pvRC5xR/S2oJIxFIBrbDyTvtasqMBsXKQNivm5DGJ58xA0ubrNvvRc4B8GeG tyknU4MDNo2PBDj9Fn/TZ9BBAyTggTsDFm2i/WxX42taOBLBnjZufAwnahmO3I801uYc OtVkFGDUbcTqkpwVUT9B2A7DELXtHUmviA+WuyuobhmTXusI4Ftmrb5vJEfA5L1VUMRm oHAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=s4ahjakQqdXllqWjfJeLeqX21u/dY2bi6B+I8H3Duxc=; b=xMuScInsuKC96tYeklbqR3GE0/hxDzbcQRaL8ZgxlNjXN4QmKH7aKwYkgO8x/lQzXL qPw6ZN/IRGHW7ko9sSyMQ2aj30V/3R6GKDAElbyjcXRHgKxg+BS9RxV1Pzyf/6R9oPB4 3ey6BeRQNHy67aMXxNJ2brhXiLAnZfU5Yo2PV7FUw3xKRV/ATqkxZYtJwg7wRbBcmUfS pK+51O6mQrWrteFe8n28kGJ7koH+zdNQf6T6iBimlwj6vybspS0tt93PPyXyY3/M1uRo Nf+knSQ5tR/VlppK3/VCxhgSd9w17JrIdnHvbOP9Ryrbf0ueTYgdabc10FPcukBeM6eg U4LA==
X-Gm-Message-State: AFqh2kq+T75vhkZzXWSiaIiKS9YigtrTiEWeuCl70BF9ocJwjxeMbt7V 4DsOyvCglr3270mRBXtPwM8HxGGXetnWA1FXcd8=
X-Google-Smtp-Source: AMrXdXseLaLfE9bauukZY8qMfn/mIJCfUl9/QLG6jp2ASbJa00CPiMRUdlbob00Uoxe/snO2AyM2iJb0xMOTG5vckuc=
X-Received: by 2002:a05:6402:2214:b0:49e:7791:a759 with SMTP id cq20-20020a056402221400b0049e7791a759mr1004821edb.201.1674270801983; Fri, 20 Jan 2023 19:13:21 -0800 (PST)
MIME-Version: 1.0
References: <167172912731.30303.7478512800074751429@ietfa.amsl.com> <b6a10999-4129-f662-1bb5-3b822b42b36d@fu-berlin.de>
In-Reply-To: <b6a10999-4129-f662-1bb5-3b822b42b36d@fu-berlin.de>
From: Tim Wicinski <tjw.ietf@gmail.com>
Date: Fri, 20 Jan 2023 22:13:10 -0500
Message-ID: <CADyWQ+FL8LN+kBooCc1bFc7_X9NyCp0jXWGUHh0VyUVH_kWdWA@mail.gmail.com>
To: Martine Sophie Lenders <m.lenders@fu-berlin.de>
Cc: dnsdir@ietf.org, core@ietf.org, draft-ietf-core-dns-over-coap.all@ietf.org
Content-Type: multipart/alternative; boundary="00000000000068fb3b05f2bd8cce"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/JSuih_qmpV4UvwJUnbMf9ugsSPI>
Subject: Re: [core] Dnsdir early review of draft-ietf-core-dns-over-coap-01
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jan 2023 03:13:28 -0000

Martine

On Tue, Jan 17, 2023 at 10:23 AM Martine Sophie Lenders <
m.lenders@fu-berlin.de> wrote:

> Hi Tim,
>
> many thanks your review, we highly appreciate it! And sorry for the late
> reply. The transition to the new year was very packed.
>
> On 22.12.22 18:12, Tim Wicinski via Datatracker wrote:
> > Reviewer: Tim Wicinski
> > Review result: On the Right Track
> >
> >
> >
> > I'm doing an early review of draft-ietf-core-dns-over-coap
> > for the DNS Directorate.  This is only an early review.
> >
> > Status:  On the right track, but should have another review or reviews
> > as it reaches WGLC status.
> >
> > While this draft is focused on the communication between a DNS-over-CoAP
> client
> > and DNS-over-CoAP server, the communication between the DNS-over-CoAP
> Server
> > and the "DNS Server" is done using DNS-over-DTLS, which the DNS
> community has
> > not seen implementations in use.  The whole communication between the
> > the DoC Server and the "DNS Server" should be expanded upon.
>
> In the draft, we tried to articulate that the DoC Server is just a DNS
> client (either a recursive resolver or stub resolver). The communication
> between the DoC Server and the existing DNS infrastructure (any
> recursive or authoritative DNS server) is based on common DNS protocols.
> This might be DNS-over-DTLS, but could also be classic DNS-over-UDP.
>
> Would the following figure help?
>
> +------------+        +------------+       +------------+
> |            |        |            |       | DNS Infra- |
> | DoC Client |--CoAP--| DoC Server |--DNS--| structure  |
> |            |        |            |   |   |            |
> +------------+        +------------+   |   +------------+
>                                         |
>                                         \ DNS over UDP|DTLS|...
>


Would this be used instead of Figure 1? Figure 1 with some more
explanations may be enough - let me think on this and suggest
some text.



>
> > The document talks about "DNS Server" but it needs to be more precise -
> is this
> > a DNS Recursive Resolver, Stub Resolver or DNS Authorative Server?  The
> document
> > needs to be more precise about this.  Please see
> > https://www.rfc-editor.org/rfc/rfc8499#page-16 for more details.
>
> Thanks! We will clarify in the next version.
>

Great - Stub resolvers and recursive resolvers have subtle differences
in handling resolution - especially in CPE type devices.


> > Before WGLC, from the DNS perspective a working implementation for
> observation.
> > While the authors and WG may feel that this DNS interaction will be
> > constrained to the CoAP environment, but those who operate DNS
> > infrastructure will feel this may be wishful thinking.
>
> We provide two reference implementations, one DoC client implementation
> available in the IoT operating system RIOT [1], and one DoC server
> implementation in Python [2].
>
>
AHA!  I didn't see these mentioned in the document/appendix
I have grabbed the python version and will start poking at.

In the datatracker I see y'all have links under "Additional resources"
Perhaps you can add those links under "related_implementations" ?
(can authors update these or just chairs?  as a chair I have not
actually figured that out)


I know this review is very *very* early, but once you sit down to
do document updates, please feel free to reach out.

thanks
tim

>
>