Re: [dnssd] SRP: Name Conflicts Handling

Ted Lemon <mellon@fugue.com> Fri, 22 January 2021 14:52 UTC

Return-Path: <mellon@fugue.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 3662E3A0C86 for <dnssd@ietfa.amsl.com>; Fri, 22 Jan 2021 06:52:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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=fugue-com.20150623.gappssmtp.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 s0pDhsXqIB4e for <dnssd@ietfa.amsl.com>; Fri, 22 Jan 2021 06:52:42 -0800 (PST)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 52B4C3A0C7A for <dnssd@ietf.org>; Fri, 22 Jan 2021 06:52:42 -0800 (PST)
Received: by mail-qk1-x732.google.com with SMTP id k193so5300377qke.6 for <dnssd@ietf.org>; Fri, 22 Jan 2021 06:52:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=AswXAxecAJOApKz6vjoQU0zi7hZ2AM9xIIDaLqyqMnM=; b=AAx4yNyh2CGeVy4WB86lvbsLr5rWz9tQNeuGHyBYWDftfXNlOPHH3r3Mp5d/crBZ/L yBrMkZYq+WhZ9WCkWhqk8+7wbq1TM9psmDxfIFdDUnKfXNI9B5rr77d/eQpNLbFe7iJT 88fcXCHwKkyzlGxQkkgyqDq1ocGyVS16IlNQcxXs+3D7n0tnNMU2YC5X1t3BOow33Bmu 0r934Lt8E1fl7zm8RQYN6R/7lCYxhzXURVtJHZqBmC/BRLWEkSIseR8jjJLmroEXEzaD 0fb2mj9XOBFJyJGfFP6dZUZfd/06S5zEhtUwTK4nZLx7QQs5kdrL/F8drPXhxonrIMpP Hm7w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=AswXAxecAJOApKz6vjoQU0zi7hZ2AM9xIIDaLqyqMnM=; b=WbWa5gAgLcWNIcLcYRcZn50msdv6jeGeA8LKakZowDiS98TaVBc57CKY3W4eG7mlVo Rgh/dQPAzCfV81bUHdqwGpe+iL8x43GKx/eJGn4IlF1qDa4WeuA8aLwHepAwJ+SzWVAy Er+TaILUpRBG3Ij3iAvVPhYL9hU+wOwXu4ad6WmT9K/y+RxXnQCKRpTqyWUYe48r51zU WJi1eGGo/mfUkz1TZYVDmBs3OLGxXZGlHqmJ0zSdApKUEvfJrpDp1N3pI/CJtsBa+zRJ xLIzP/+sfyjGmP6V8Bva/yPMXIH54q7gdaHjqYz/diZUzg1OdkoMyxYnBQv4ceI6Fqsh uWkw==
X-Gm-Message-State: AOAM533UTKscx209X290h4AuzHo5dF8vh+ozRCYZsndsW6YJu5xDurNl kdwQ4Z60i3WQFGuOrE/nRaZnpA==
X-Google-Smtp-Source: ABdhPJzwwYNhLGnQfGdvslRIjHFBO62TII7/8cFHaFHcoocaVzL6aQDm9madfbdCWZCxgJjfVfzcBw==
X-Received: by 2002:a37:5a47:: with SMTP id o68mr220387qkb.423.1611327161203; Fri, 22 Jan 2021 06:52:41 -0800 (PST)
Received: from [192.168.4.70] (c-24-91-177-160.hsd1.ma.comcast.net. [24.91.177.160]) by smtp.gmail.com with ESMTPSA id h22sm5645303qth.55.2021.01.22.06.52.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jan 2021 06:52:40 -0800 (PST)
From: Ted Lemon <mellon@fugue.com>
Message-Id: <BA9F1636-409F-4581-BBC8-27F960BA63D2@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B60143F3-95F9-4B9C-87DD-142F4EFD9956"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.2\))
Date: Fri, 22 Jan 2021 09:52:38 -0500
In-Reply-To: <CAJ5Rr7Zy_7SD4gxuQsD6O_OAqQpZ2r5Q9fsLFE8vL_6XFTjo+Q@mail.gmail.com>
Cc: DNSSD <dnssd@ietf.org>, Jonathan Hui <jonhui@google.com>, Abtin Keshavarzian <abtink@google.com>, Yakun Xu <xyk@google.com>, Rongli Sun <rongli@google.com>, Simon Lin <simonlin@google.com>
To: Kangping Dong <wgtdkp@google.com>
References: <CAJ5Rr7Zc-Yma9EVXw1OeEKP+H1ZkPxB48Q5U45zoERX7=gNLJA@mail.gmail.com> <C224E9B3-EA9F-4A49-B73C-96F3D147B1E4@fugue.com> <CAJ5Rr7bXLiZJ=5Q-nYn2hWb2QSGzpJACv8b12BPqyTa1wJQVnA@mail.gmail.com> <0A1488E9-BFB8-4E82-815B-EF1F2A40B35E@fugue.com> <CAJ5Rr7ZZ22YCCszxjXCExgDjyBN18YKZzdnCe1bTHUDhmC7qtg@mail.gmail.com> <700C359B-B9D1-4A1E-A7B2-1ACA0AF224C5@fugue.com> <CAJ5Rr7Zy_7SD4gxuQsD6O_OAqQpZ2r5Q9fsLFE8vL_6XFTjo+Q@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/EEndPWeGz3DW2mWl45eyqyh2OO8>
Subject: Re: [dnssd] SRP: Name Conflicts Handling
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, 22 Jan 2021 14:52:44 -0000

I think that’s a good description of the solution, yes.

> On Jan 22, 2021, at 1:02 AM, Kangping Dong <wgtdkp@google.com> wrote:
> 
> To make sure if I correctly understand how this works, let me explain how a SRP client will handle name conflicts:
> 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.
> 
> Am I correct about the workflow?
> 
> 
> On Fri, Jan 22, 2021 at 12:11 AM Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
> On Jan 21, 2021, at 12:27 AM, Kangping Dong <wgtdkp@google.com <mailto:wgtdkp@google.com>> wrote:
>> Option (1) also looks good to me. But what are the RRs that should be included in the response? SRV RR for service instance name and AAAA/A RR for host name?
> 
> Yes, I think that makes sense. These unambiguously indicate what type of update failed. Which brings up the question of what RRtype to use for renaming. CNAME?
>