Re: [dnssd] Adoption call for draft-sctl-advertising-proxy

Jonathan Hui <jonhui@google.com> Fri, 13 August 2021 17:49 UTC

Return-Path: <jonhui@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 C8DD33A20B4 for <dnssd@ietfa.amsl.com>; Fri, 13 Aug 2021 10:49:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.097
X-Spam-Level:
X-Spam-Status: No, score=-18.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.499, 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 zGEvPZUMD091 for <dnssd@ietfa.amsl.com>; Fri, 13 Aug 2021 10:49:39 -0700 (PDT)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 0A5543A20B7 for <dnssd@ietf.org>; Fri, 13 Aug 2021 10:49:38 -0700 (PDT)
Received: by mail-oi1-x22d.google.com with SMTP id w6so16959628oiv.11 for <dnssd@ietf.org>; Fri, 13 Aug 2021 10:49:38 -0700 (PDT)
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=UvuHlvydZwD66KOHqqHb1cmSAjdJThUxeGcb59PKVZI=; b=mgcsDHNHnj57f/6Ck8yyJ2qZ6FvELhiL7Mi5IqnZd+Qzt/Y60jCLUIbZb6uapxKxbW uSZSUE+OcMOoAQvitjZthJZnvMdHMVC/0MO5WHRoXvMyPXbCZSC3z6TAYHBT2CLFRiCj xWdYWyB1LQtC4kbRYDPSi75JfhqPFWcJzRec8P8vRt3zN1d2cm6xBg+KbrUhVGyxi5CL cqe/i9VFHKXeTpkueGHApq2c8XKblkB2/mHNu142LyUURvxkUt8Dw+NXjtozdTNnGXfW yr/R46xSfrCOlXMJ8cDFeDkEJPWw3hnrQlo53IjrFuNNbg8AbVlJgiKcG1ahzwROJT6B g0mg==
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=UvuHlvydZwD66KOHqqHb1cmSAjdJThUxeGcb59PKVZI=; b=eFGkTjPyALAhJOY46lYOd/AG2bGLRaenhOoj1Aerb9W/XzWPJIDM0MMwF+aiccXr/V 5ta3IRz4Xe8Ov9hfw9DQRhx/atipfKXeYgHh5ElOLDsU+8mAdeaQlKJx48JUspf7LAJp BkheSCQvIox79rlLBcCeFxZvXgbylBSp/zn6NduSbx20c1E6T1jgpZr5lW7UY6czPf4+ TRWkobmpxkMMO+Wp4mCrvqmR1XC/WrY28ni8S+gHr5S7v1HgMQXJ5OLWFe1JBtxr0Fq/ nHoIMMv0lcdAKZNTZ6K+O7WHQn3WWVLJKtESgX5P+NB+G41d63MVAHkrNJg3bOpV4X8o IpRw==
X-Gm-Message-State: AOAM530e876WA1jFoD1ySCE5CoiT+TqFI3LD5zaq6NkQMNxn0bekhYWZ tMQlVh6hrd8TJbbGxPLZNfktUAa4hiUzcJaFGugPeLNbiIw=
X-Google-Smtp-Source: ABdhPJwebnI+ZErB9jNLO9qJkqoILY0qm5gQyY8camvxzY+24yeDwksaAvq+hFpAeRCGWCpSca+rdKsJ15STsoBKdiU=
X-Received: by 2002:a54:489a:: with SMTP id r26mr3117947oic.168.1628876976916; Fri, 13 Aug 2021 10:49:36 -0700 (PDT)
MIME-Version: 1.0
References: <CADPZrgTu8QeR=yAM+9w0zDJ45Uz7Lgs12-6PKzutTW_p1RkA4Q@mail.gmail.com> <CAPt1N1=NgRRVnD1L_dJ_mZYuE5ReXOv0sK_cL6RcjcmpdQZOYg@mail.gmail.com>
In-Reply-To: <CAPt1N1=NgRRVnD1L_dJ_mZYuE5ReXOv0sK_cL6RcjcmpdQZOYg@mail.gmail.com>
From: Jonathan Hui <jonhui@google.com>
Date: Fri, 13 Aug 2021 10:49:25 -0700
Message-ID: <CAGwZUDsWat3yPFt49t-YYdEee9Ck9bq=Fq+c-mgorocfUN22bQ@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: dnssd@ietf.org
Content-Type: multipart/alternative; boundary="00000000000097e4df05c974792a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/_yVr7Q1_MtQ2hAGj3kMaTmtsfVw>
Subject: Re: [dnssd] Adoption call for draft-sctl-advertising-proxy
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, 13 Aug 2021 17:49:45 -0000

On Fri, Aug 13, 2021 at 4:19 AM Ted Lemon <mellon@fugue.com> wrote:

> On August 12, 2021 at 11:08:44 PM, Simon Lin (
> simonlin=40google.com@dmarc.ietf.org) wrote:
>
> As Jonathan said, always using SRP regardless of whether the device is
> connected via Thread or WiFi can solve this problem. Also maybe the
> device can unregister itself from SRP when it has migrated to WiFi,
> which requires the device to remember the IP address of the SRP
> server, or to use draft-tljd-dnssd-zone-discover.
>
> I don't think dnssd-zone-discover helps with this. I think the client
> needs to either unregister itself with SRP before migrating, or follow the
> same protocol I mentioned earlier with respect to its service
> advertisement: advertise without asserting uniqueness.
>
On Wi-Fi, the device needs to discover the SRP server. Why can't
dnssd-zone-discover help with that? If there is a single SRP server in the
network and it is servicing both Wi-Fi and Thread networks, we don't need
to deal with conflicts. If there are multiple SRP servers, then I hope SRP
replication will address the vast majority of cases.

> > The only other alternative is to rename. I think this is too heavy of a
>
> > solution, but I'm open to debate.
>
> It increases the complexity on every device that needs to browse for
> mDNS services. I would prefer SRP replication to renaming.
>
> This is a good point—SRP replication also increases complexity, but it
> constrains it nicely to the more capable nodes on the network—the ones that
> are acting as ad-hoc infrastructure and not as end nodes.
>
I hope SRP replication will eliminate the need for end devices to handle
conflicts directly. Hopefully we can get some operational experience as to
whether other mitigations are necessary.

--
Jonathan Hui