Re: [dnssd] draft-sekar-dns-ul

Chris Box <chris.box.ietf@gmail.com> Fri, 30 July 2021 01:04 UTC

Return-Path: <chris.box.ietf@gmail.com>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3F0D3A134D for <dnssd@ietfa.amsl.com>; Thu, 29 Jul 2021 18:04:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KOeX76rIVVQf for <dnssd@ietfa.amsl.com>; Thu, 29 Jul 2021 18:04:33 -0700 (PDT)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4222A3A134A for <dnssd@ietf.org>; Thu, 29 Jul 2021 18:04:33 -0700 (PDT)
Received: by mail-qk1-x730.google.com with SMTP id o13so7865997qkk.9 for <dnssd@ietf.org>; Thu, 29 Jul 2021 18:04:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZfAu8ddfxBOQqzQSLegfDEOGKk/rvuj0VaSFfpEDAf8=; b=JbWd+xgkTcm7es12ByKS3TzzJy9ZuWpnJp9suvtqFYtlfoA2YhxNX0+fAt7EElNCOO HkOfshdpv5E/4W2PvOdRkG4k5s4zbnPhaMKuew+FEwxnJuFMQT31DbKr2d/pgvudqhso +PrkU7IyJ2mTi6WI+F5yzKdUl/F0DSaeIiXaW/nLIujJ2Ehl2dMqN2fTm2DytBsIiJ9m 3pG7EM7tK6NLXTCkPndoHf0nkydyHQU5KdHvVYSvhSdmA0ZHpqboq4n7HQkHjJfKXKcS dbv45YL7El85ds8iipJaDyvihgPbJPMt5p9XNKsZGqw4xqHnUnoakWM7L9WWDWzSQeMt i6OQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZfAu8ddfxBOQqzQSLegfDEOGKk/rvuj0VaSFfpEDAf8=; b=Ut19TaLHGE97AaWJfBTheNtnWR00vzqGZqBqKQOetsIwW4UY0WxW94WABjW2GhwF1G mKg/gEaOygpkAz7ue6S9ukLj3to7IZNuvWvaeE0TqQWAYfLn+7PavvluA18IwysPkY/o UyexZT1th/oAJNQe7ZGehmGoXvPN01U3EfE42o446+58Gzw6I3zLo5R1G8hm+xUnZNn9 PDfNnxfEkK/3GoVOJvfW+aSns0tNhylE8kDcZ1Mb5lq6mjvPj0toebbdH5TFBu57D3KB AOnLqRNJSsQGUu8FnLuPIYxzy+v138zzy+6tq8/SBbIkijg+mkM66nlUrl2S+u2NMyoc PhIA==
X-Gm-Message-State: AOAM531DwgxswRSxUXwT9xGRnnUnDWSqklx3zJxdp6WA/oZhOfml8BWq 4aGD8NxaW2I5zsXnc6A+U3I+rFg1HHnjNKFm3SBQV42Vq8c=
X-Google-Smtp-Source: ABdhPJyt5De6fMvStnSkTUkrbmh2aa7kd85BYVcOP1ikiVxA7fWvsTie1F3V3Js2cF/s1Ht6ck6akIlYKtDZi2slgLc=
X-Received: by 2002:ae9:ed03:: with SMTP id c3mr7975437qkg.418.1627607071605; Thu, 29 Jul 2021 18:04:31 -0700 (PDT)
MIME-Version: 1.0
References: <CAPt1N1=b5YrPfc2DGu4xF4sGFNtvgyKO7qBVWd1HQe0X2MBmXw@mail.gmail.com>
In-Reply-To: <CAPt1N1=b5YrPfc2DGu4xF4sGFNtvgyKO7qBVWd1HQe0X2MBmXw@mail.gmail.com>
From: Chris Box <chris.box.ietf@gmail.com>
Date: Fri, 30 Jul 2021 02:04:20 +0100
Message-ID: <CACJ6M14TgV0OaFxY_AC+aqcCHdhLS1YDqmuht+OkPs83FaJi9g@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: dnssd <dnssd@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000056493705c84ccdf5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/xiCVf2dhr84Nrv7PptoHvYiLTzY>
Subject: Re: [dnssd] draft-sekar-dns-ul
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Jul 2021 01:04:38 -0000

Ted,

As promised in the meeting, I've now reviewed the draft. Here's my thoughts.

*Questions and comments*
The -01 version of this draft has an associated patent. The IPR disclosure
is https://datatracker.ietf.org/ipr/1236/. What does this mean for -03?

In Section 4, it strikes me as odd that KEY RRtype is treated specially
here. I know why, because that's what SRP needs. But in the context of this
single draft, is there a rationale as to why KEY, and only KEY, needs a
different lease time?

Is it worth looking at the draft through the lens of the EDM program? For
example should it be extensible to separate out other RRtypes? Should
greasing come into the picture? The answer might be "not in this case", but
I thought it worth at least thinking about.

Either section 4 or 5 should be explicit about what the client
MUST/SHOULD/MAY do when the server insists on a different lease period to
the one the client requested. It is not currently clear to me if the server
is always right, or if the client can impose bounds on what is acceptable.

In Section 5.2, refresh messages are asked to set a prerequisite of "RRSet
exists (value dependent)". I don't have much experience of prerequisites.
It sounds like it creates a risk that in some situations the prerequisite
will be unsatisified, resulting in the failure to refresh and the record
ultimately being deleted on expiry. Is this a genuine risk or am I missing
something?

Section 5.3 would benefit from adding a sentence along the lines of  "If at
least one record in the Refresh Request has completed at least 50% of its
lease, the server SHOULD refresh all of the records.".This is because
implementors might misinterpret "If no records", as "If any records ",
creating problems with coalescing.

In Section 7, do we need to ask IANA to update the status of Option Code 2
from on-hold to standard?

*Editorial suggestions*

Section 4
Personally I would drop the part in brackets here:
Leases are expected to be sufficiently long as to make timer discrepancies
(due to transmission latency, etc.) between a client and server negligible.

Section 5
Don't we normally use the spelling "retry" rather than "re-try"?


That's all. Overall it's clearly a useful capability, so I would support
eventual publication.

Chris

On Wed, 28 Jul 2021 at 00:01, Ted Lemon <mellon@fugue.com> wrote:

> As was discussed in the meeting today,  one of the normative references
> in the Service Registration Protocol document is to draft-sekar-dns-ul,
> which describes the DNS Update Lease option. For those who are challenged
> by parsing this, as I tend to be, that's the EDNS0 option for declaring a
> lease on a DNS Update.
>
> There was some question as to whether this was an appropriate document for
> the working group, so that's one question. However, whether it is or not,
> it would be good if it got some review, and this working group probably has
> a lot of the most qualified people to look at it.
>
> So, please take a look at the document and comment here. You can find a
> copy of the document here:
> https://www.ietf.org/archive/id/draft-sekar-dns-ul-03.html
>
> _______________________________________________
> dnssd mailing list
> dnssd@ietf.org
> https://www.ietf.org/mailman/listinfo/dnssd
>