Re: [dnssd] New Version Notification for draft-sctl-service-registration-02.txt

Tom Pusateri <pusateri@bangj.com> Mon, 16 July 2018 12:59 UTC

Return-Path: <pusateri@bangj.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 A7255129385 for <dnssd@ietfa.amsl.com>; Mon, 16 Jul 2018 05:59:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 COn1w6cCwxm2 for <dnssd@ietfa.amsl.com>; Mon, 16 Jul 2018 05:59:05 -0700 (PDT)
Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 751BF130DF9 for <dnssd@ietf.org>; Mon, 16 Jul 2018 05:59:05 -0700 (PDT)
Received: from dhcp-9194.meeting.ietf.org (dhcp-9194.meeting.ietf.org [31.133.145.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id F0B68779; Mon, 16 Jul 2018 08:57:22 -0400 (EDT)
From: Tom Pusateri <pusateri@bangj.com>
Message-Id: <9DA32538-BFDE-4C84-B1E1-4393D62FBF5A@bangj.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_92A2F957-31DA-410C-A8ED-F107CCFC64A3"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Mon, 16 Jul 2018 08:59:03 -0400
In-Reply-To: <CAPt1N1mrbmKQtET0Jw3ex0LP6ti3P+X0LODqTutkxsu+ucoZ0w@mail.gmail.com>
Cc: dnssd <dnssd@ietf.org>
To: Ted Lemon <mellon@fugue.com>
References: <153168722035.21892.2695151923270049902.idtracker@ietfa.amsl.com> <CAPt1N1mYtPRxP6F-JwKbWey3r_vSaNP5srbkf314gdjfdNe8mw@mail.gmail.com> <EAA984C0-05A7-450C-812A-B9D43890F627@bangj.com> <CAPt1N1=8stpf_A7i-rcpxvn3SMjJL1E74fvLVuSZM=moHpWu2g@mail.gmail.com> <DF354A0C-0689-4715-ADF9-B9B35A4E23DC@bangj.com> <CAPt1N1mrbmKQtET0Jw3ex0LP6ti3P+X0LODqTutkxsu+ucoZ0w@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/8GQY9Z-siD2awmwOCk63X3UolU8>
Subject: Re: [dnssd] New Version Notification for draft-sctl-service-registration-02.txt
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 16 Jul 2018 12:59:08 -0000

> On Jul 15, 2018, at 11:07 PM, Ted Lemon <mellon@fugue.com> wrote:
> 
> OIC, you mean which domain should be used to discover the default registration domain?
> 
> Is this better?  https://github.com/StuartCheshire/draft-sctl-service-registration/commit/327f3fef292731951c8cc8746b6880f3e13f2e43 <https://github.com/StuartCheshire/draft-sctl-service-registration/commit/327f3fef292731951c8cc8746b6880f3e13f2e43>
> 

Yes, the the dr._dns-sd._udp.<domain> part is more clear. Thanks.

The TTL addition still leaves ambiguity for the server implementation:

"Service Registration servers SHOULD ensure that TTLs are reasonable: neither too long nor too short.  The TTL should never be longer than the lease time.”

Can you give guidance for “too short”? “too long” seems to be > lease time. If this isn’t what you mean by “too long”, guidance on that would be appreciated too.

And finally, if the TTL is “too long” or “too short”, how does the server respond? Does the server accept the registration and modify the TTL? Does the server reject the registration and return an error? What error code?

One minor nit. If I understand the distinction correctly, you use “domain” if the following places where you should use “zone”:

Section 2:

However, they can be assumed to be able to provide registration domain discovery and routing.

Section 2.2:

As described above, full-featured devices are responsible for knowing in what domain they should register their services.

Thanks,
Tom