Re: [dnssd] SRP Update - removing individual services (draft-ietf-dnssd-srp-06)

Abtin Keshavarzian <abtink@google.com> Sun, 20 December 2020 07:38 UTC

Return-Path: <abtink@google.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 7C90D3A0B1D for <dnssd@ietfa.amsl.com>; Sat, 19 Dec 2020 23:38:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 VGvm_VkuRZiL for <dnssd@ietfa.amsl.com>; Sat, 19 Dec 2020 23:38:26 -0800 (PST)
Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (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 97BA93A0B16 for <dnssd@ietf.org>; Sat, 19 Dec 2020 23:38:26 -0800 (PST)
Received: by mail-qk1-x736.google.com with SMTP id v126so1790401qkd.11 for <dnssd@ietf.org>; Sat, 19 Dec 2020 23:38:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f6Rp5nyH1OzDVaDGy5rq5yJ+YWAUZEAGO310uRIpnG8=; b=aolkR+P1n2ZW2zLRrlfOK3KFjwFEZIbyqY/KuK+a0qmuWz/bbrwS+u+4MZmaUkpYtb DlXyQwa8BcfRXV9bndqju96Gx0ypJkL5gTSqD46+WqXcWan5ofzTSTp4UA58cle7+sP4 get4a3JQkW39WHLE/y4oTG79CoxqOvyQ9v6zyZ8Oay9Hrgo4/cuNyLds8vfP5Kf+85bg Ps8VJSRTHkWJVrRxhl17rqOqNMMPGZ4K8NxyLxhgfmVeegeWXdgoidOsFHKNEhPQWLDL l7UVELLHgD0tvRLGm5mCvQ/o7qiipO4o3Hn5iDTzSYDoxthkUPTiDTsGxNc2oKajrjD+ rf6A==
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=f6Rp5nyH1OzDVaDGy5rq5yJ+YWAUZEAGO310uRIpnG8=; b=Su3t7NXo7gbq2UX3RHxjyckfXqG4jhC2+JiPv3vKYDM3SwsEg6rCkL09WsHJNEyGts d2reSZOHNtypETCjZN2eXHxha/uTZ5vEizKGAR3+UNNYFrcgaXRmUoHIQLXGUqCnFnhU tPpWoX6eD7D8NZUpCaYJOSFO8cMRYOtQ7uH1QYjxECDHfjGNSqHVw1NBlJS3sIjQG/9/ E0HKciS62cM4wtGBsxPPRtVcTKjz/DjkI3GG5VtPyy4d2ZQ3wCetAJuT93w9AjKdeTPZ z0KHj2s9AwG71Sav1Jx2gNyYoH6PGtl3IvjJkqYG+KDMz5mjm2JFkpmPBD0v7J2MFGtI iezg==
X-Gm-Message-State: AOAM533bQ7YyxaqzSD1MzSO1JygmcA0MUMiOo43+CdjfY2wLrsqxSCve TvzlX/OjsyufLyQfDDm65SPmdPYm2vPj8MRcSRA0nw==
X-Google-Smtp-Source: ABdhPJyF+XB0yf7pZIiXLaVX+oiH4O3RIouLcnTP9QscFC0MokOyknWSZqXCfJeLlVn0AhzEdobl6ItRdRD6zIwpvm8=
X-Received: by 2002:a37:4709:: with SMTP id u9mr4589269qka.70.1608449905205; Sat, 19 Dec 2020 23:38:25 -0800 (PST)
MIME-Version: 1.0
References: <CACce4dTbWCVwBityepJpb5FF4Rv43+DUev_0Ka+rVT9exZrJzA@mail.gmail.com> <031C980F-D8B6-4051-8DC0-D8417FDBBD0F@fugue.com> <CACce4dQZ708aaMdvmwhEurHDSdFAvLbzwpDWz=viig_2cX75Dw@mail.gmail.com> <680A60B6-BD88-475E-91ED-48F23036A7C8@fugue.com> <CAJ5Rr7bDSMv1uPDPXppG9e4OUEU7oriK9tVKD20=P3Kgb2q=0g@mail.gmail.com> <741BC8D6-CFEF-453B-8F89-A6B102A37DAA@fugue.com> <CAJ5Rr7Yw33y2k=wo-ZXzFNP77=bucRcr2LxJxf+98e5oqK+fsw@mail.gmail.com> <6B728DF0-5EE8-4EE6-9E95-98EF4D03D865@fugue.com> <CACce4dToa2+FiYgzp5AvZjO7-UfHy5VSSZ4ED+PkHMVPBZTQAA@mail.gmail.com> <87BDE0DB-9FB0-4BB2-872D-6D045897FCBD@fugue.com> <CAJ5Rr7ZmVWRp8H1Kg2QVXFJKnrUK09J2iPHsVTDvSxFioAznUQ@mail.gmail.com> <CAGwZUDtJMRXrTq4+3EMKQM_f_m6Tv+Nmxevkdak-A3yaskbPaw@mail.gmail.com> <CAJ5Rr7YTMU1dJdgf6Jgsioefhuu3pp_BaK8Q0RJ0nmhEk-oF2Q@mail.gmail.com>
In-Reply-To: <CAJ5Rr7YTMU1dJdgf6Jgsioefhuu3pp_BaK8Q0RJ0nmhEk-oF2Q@mail.gmail.com>
From: Abtin Keshavarzian <abtink@google.com>
Date: Sat, 19 Dec 2020 23:38:14 -0800
Message-ID: <CACce4dSikaAK4eMhewp=+XZ5xysUdyiKnxftqPg0r_jUOYPL3Q@mail.gmail.com>
To: Kangping Dong <wgtdkp@google.com>
Cc: Jonathan Hui <jonhui@google.com>, Ted Lemon <mellon@fugue.com>, DNSSD <dnssd@ietf.org>, Rongli Sun <rongli@google.com>
Content-Type: multipart/alternative; boundary="0000000000003d938a05b6e06d18"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/aD_I7MkM0x1qNAvlOkvhYd2vgO4>
Subject: Re: [dnssd] SRP Update - removing individual services (draft-ietf-dnssd-srp-06)
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: Sun, 20 Dec 2020 07:38:29 -0000

Actually, on second thought, maybe the right thing to do is check for the
> KEY RR and not the SRV RR. If the key matches, the delete is okay. If there
> are no records on the name, the delete is okay.


Thanks Ted. I agree. This sounds good (and simpler).

On Sat, Dec 19, 2020 at 9:51 PM Kangping Dong <wgtdkp@google.com> wrote:

> RFC 6763 Section 6.8 Service Instances with MultipleTXT Records
>> <https://tools.ietf.org/html/rfc6763#section-6.8> discusses this.
>> However, the end of the referenced section also states:
>>
>>    Future protocol designs should not follow this bad
>>    example by mimicking this inadequacy of the LPR printing protocol.
>>
>> Thanks Jonathan, I missed that section.
>
> So I guess the question is whether we can/should mandate this future going
>> forward in SRP?
>>
> Exactly. I would prefer we explicitly disallow multiple TXT records for
> SRP.
>
> BRs,
> Kangping
>
> On Sun, Dec 20, 2020 at 12:14 AM Jonathan Hui <jonhui@google.com> wrote:
>
>>
>> On Sat, Dec 19, 2020 at 7:11 AM Kangping Dong <wgtdkp@google.com> wrote:
>>
>>>
>>> 2. What's the use case of supporting multiple TXT RRs?
>>> in section *2.3.1.2. Service Description Instruction
>>> <https://www.ietf.org/archive/id/draft-ietf-dnssd-srp-07.html#name-service-description-instruc>*,
>>> we have:
>>>
>>>> zero or more "Add to an RRset" TXT RRs,
>>>>
>>>
>>> Are there real use cases that we need more than one TXT RRs? What is the
>>> expected behavior
>>> for the advertising proxy to publish this service with multiple TXT RRs?
>>> (I think DNS-SD requires
>>> a single TXT RR, is it correct?) Should multiple TXT RRs be concatenated
>>> to form a new TXT RR?
>>> If there is no such use case, should we require a single TXT RR? It will
>>> be easier to implement on both
>>> client and server side and consistent with DNS-SD. thoughts?
>>>
>>
>> RFC 6763 Section 6.8 Service Instances with MultipleTXT Records
>> <https://tools.ietf.org/html/rfc6763#section-6.8> discusses this.
>> However, the end of the referenced section also states:
>>
>>    Future protocol designs should not follow this bad
>>    example by mimicking this inadequacy of the LPR printing protocol.
>>
>> So I guess the question is whether we can/should mandate this future
>> going forward in SRP?
>>
>> --
>> Jonathan Hui
>>
>>