Re: [dnssd] SRP: name conflict while not knowing which name conflicts

Tim Wicinski <tjw.ietf@gmail.com> Fri, 23 September 2022 10:28 UTC

Return-Path: <tjw.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 50A1FC14F748 for <dnssd@ietfa.amsl.com>; Fri, 23 Sep 2022 03:28:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_BLOCKED=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 eL4wRdb5bgM3 for <dnssd@ietfa.amsl.com>; Fri, 23 Sep 2022 03:28:24 -0700 (PDT)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 2B275C14F739 for <dnssd@ietf.org>; Fri, 23 Sep 2022 03:28:24 -0700 (PDT)
Received: by mail-lj1-x235.google.com with SMTP id q17so14091523lji.11 for <dnssd@ietf.org>; Fri, 23 Sep 2022 03:28:24 -0700 (PDT)
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; bh=ZafZJUra2DqsBzSNR/NpKtGlJ0aakqIsuBgGZeoz+Y8=; b=ATausIf3XmfobarmfZmxVLeOTCZFjQxjpeqb5B/G0yEsefjmxg0j6nETQHgtBVSYiW MAvxIk4LDBOs9RyB5AapjGi7kRRlSW/0WPAFJIok6uUpsFvADhvcnnilXsJbYubIf6XJ Pa08XS/+U9qSmweOxSrcSYvtg9AuIItYxaeFQBGM152Sq2j6O778x4bF1t0Wf30Ci2mF TmelqlBYKXYXZI65MWSGa0DL7a67lBMvLaY5v56C3vYIM3h+zMHnpYpc18CP9/t9f2KQ qYTqWsWScGcjWLEvYbP4PfshZ7YOlc0BOFVsV/hhLB9E9IrLr3QgSXQMrZS5uEjcweYj M73g==
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; bh=ZafZJUra2DqsBzSNR/NpKtGlJ0aakqIsuBgGZeoz+Y8=; b=JAEt/21yK7FMBuTxwEEbnYCGMhpI4n3tqn9yuKw1wLJeK8V2+tQSc7q4CBvyhRh/Sg xgwR9xIbzE1arVswLC2Rs6LRSkQ1DEhxbCS3uI7ocaXOsTaPtdoHsrLSjnVdfhuSGWqF i4IPndNuVy0sjwLC5X2dbKMVTcNpKpujlxuf1Ua46uyCoq8wtq7x3p/EJuWJJSenqD9L nrp+qQlQ1s5AdMgI7MgEooL34LdYEPwXlHnbtCtaQqznw89XLi17W+aXAzK7okHmONT7 K7dGiv4J/25eo0+CfEeyu0iRbF0R6863U9hA5XHNeCQfnXEnenJTz/qEm1EW9gPPW3EE /uXQ==
X-Gm-Message-State: ACrzQf0bUpM4yntT8MUUKrCOGBsBHnyGelxTZ8SPOmh4WMswSKzulIW+ S60jk83E6klPLxol8kLRpEVpLhWcKUYOz4JNtmk=
X-Google-Smtp-Source: AMsMyM7qLEiRPTb0WqVEoEx1uVTO05S4KetyW/zMjDM8qztroTtKr/PHNrNqEL/yeMHxA5Uw2dq9TXFbd5dLt2lFHqI=
X-Received: by 2002:a2e:6a15:0:b0:26c:5577:4827 with SMTP id f21-20020a2e6a15000000b0026c55774827mr2459998ljc.10.1663928902137; Fri, 23 Sep 2022 03:28:22 -0700 (PDT)
MIME-Version: 1.0
References: <DU0P190MB19780211A2F50F5E66BCE005FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAJ5Rr7Ys+bmFiP9j3ebptBEZHXX+6rzkTRaFHr7_mmgVZb9sZQ@mail.gmail.com> <DU0P190MB1978E63F6C69807759C10FD0FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB1978E63F6C69807759C10FD0FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
From: Tim Wicinski <tjw.ietf@gmail.com>
Date: Fri, 23 Sep 2022 06:28:11 -0400
Message-ID: <CADyWQ+EMf3XTLuZWupLNeGwQ8Gaqd-A7BvyAs4wK-fT7M5zk6Q@mail.gmail.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: Kangping Dong <wgtdkp@google.com>, "dnssd@ietf.org" <dnssd@ietf.org>, Ted Lemon <mellon@fugue.com>
Content-Type: multipart/alternative; boundary="00000000000024c13505e955a39d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/FApn-hVGEeaC4LrXVGFTXiICNgI>
Subject: Re: [dnssd] SRP: name conflict while not knowing which name conflicts
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.39
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, 23 Sep 2022 10:28:26 -0000

On Fri, Sep 23, 2022 at 4:32 AM Esko Dijk <esko.dijk@iotconsultancy.nl>
wrote:

> Thanks Kangping,
>
>
>
> It looks like including the conflicting name records in the Additional
> section is a good base solution and also easy to describe in the SRP draft,
> which does not impact the states & procedures of registrar and client.
>
> It’s just additional helpful information the client may use to compose the
> retry Update.  The part about renaming by the registrar, on behalf of the
> client, seems more tricky and may impact states & procedures which were
> just WGLC-reviewed now.
>
>
>
> If we use the Additional section for a YXDomain response, this may require
> a formal update of RFC 2136 (3.8) since DNS Update only allows a server to
> repeat all records in the (error) response or to exclude all records.
>
>
>
> Esko
>
>
>
Esko,

I don't think an update to 2136 is needed here, as section 2.2.3.1
describes the differences with an SRP registrations and 2136 Updates,
but this response should be tested against a DNS update response.

Kangping, I believe this is your workflow description - I pasted it here to
assist in my readings.

1. If a name has already been registered on the SRP server or a name conflict
error is returned by the Advertising Proxy:
    the SRP server responds with the RR that includes the conflicted name.
    If the client sees such records, it knows the conflicts on the SRP
server and will retry with a new name.

2. If a name conflict is reported to the SRP server after the SRP
update transaction
has been committed:
    The next time the SRP client registers, the SRP server responds with a
CNAME record which includes the new name.
    If the client sees such records, it knows the conflict on the
multicast link
and will accept the name or retry with another name.


https://mailarchive.ietf.org/arch/msg/dnssd/cUJBXN9WXBguPKtTYgPYq4bo4pQ/

Tim