Re: [dnssd] [DNSOP] QDCOUNT > 1 (a modest proposal)

Abtin Keshavarzian <abtink@google.com> Thu, 16 February 2023 21:22 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 23074C1BE876 for <dnssd@ietfa.amsl.com>; Thu, 16 Feb 2023 13:22:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.597
X-Spam-Level:
X-Spam-Status: No, score=-17.597 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3gUH6lTpzWfz for <dnssd@ietfa.amsl.com>; Thu, 16 Feb 2023 13:21:59 -0800 (PST)
Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 095E5C1782A2 for <dnssd@ietf.org>; Thu, 16 Feb 2023 13:20:52 -0800 (PST)
Received: by mail-wm1-x32d.google.com with SMTP id o19-20020a05600c379300b003e21af96703so1544006wmr.2 for <dnssd@ietf.org>; Thu, 16 Feb 2023 13:20:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mujpn3TFlDqKtzvBuqzGGCBmd/hD73Vew1ZU53Wv+hc=; b=J059taNnydNzePl6QQyMqXVRCkNws+UhoHKw2jBfBra11VTwVK2FErKRRF0lPQlAf1 atSFtOoWwjVlsH/UznaNRVTJS5Z9d5pV1c1B+mGQSOgRPRg+G73oEOS6d72ZNk9h22F0 2OUZE+Gw2V1LeSpVp3xhjDj+w2xs4bV3s/EcN4cFQ4S755A/6KzGqBgsp6nJFuWgRq4h Ny6pge+wQt8Va+bgWrdkBD2pXay6IQr/iLtKCufwLbyS56M+izX+DX0AhylfeOMaxgzp Ty5cZWb2GgOkCkJMT8mPfJzv4qsfckuVDPrmQ+Fgs+P9UypZ274DQbasgJwwBCi9o0Wb Eg/g==
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:message-id :reply-to; bh=mujpn3TFlDqKtzvBuqzGGCBmd/hD73Vew1ZU53Wv+hc=; b=PpS5uahINrMfO3xOOnCycnJPc45JF4fMO7CvthLo9of6zJpu9s+ynW7PtWE3CUduCp Ii6Yo+nsdC9qFqI6mxuZa+cxQXmyGjm7rRV6LqxYE9jKW4OT9a3XmOiVEUBS/fTOuXai ZUYPaJ3wFcJBKILSSRFy9RTWMJDoGSfVajusq2fhqrqKhGbOmX7vM6++5ckfFbsJgVDf mkKZq4w5qJtr7iPP15fLObPUh2wVxqYrS/1R/e82AKf52VmYsjxzjkvh7hm60Qw8K3To x2wjUzA19tFVbn2wg9nfE/h24NXqWQXBtSN3Fjf+PFLU64B8wMNQPC1EfWUykVevFmno d5CQ==
X-Gm-Message-State: AO0yUKVVN2BOpFQV40Gv7xbzsiGPOinhXFnYH1YLWv2D+oxLSW51OXx9 qaWNvizbwpTT+MsFlezrFlTrAy2zh6CFjoyQ2SByPA==
X-Google-Smtp-Source: AK7set8ZEx3iC1xQ3Uw+WZMf85EaPKIbUb8vmDmVgboEu8ooJoKBQ/ld+MMT+rzKXZD+eMerdHit1irZTZIWxEr8PXE=
X-Received: by 2002:a05:600c:4e89:b0:3db:336f:6de1 with SMTP id f9-20020a05600c4e8900b003db336f6de1mr279491wmq.66.1676582450859; Thu, 16 Feb 2023 13:20:50 -0800 (PST)
MIME-Version: 1.0
References: <e3a02b74-4eb7-6187-2c2c-061c6f4c0e41@bellis.me.uk> <C4751071-6795-4B53-82FB-601F74DFAF8D@gmail.com> <f4b19b59-11a1-5965-cd70-eb01ba4efc31@bellis.me.uk>
In-Reply-To: <f4b19b59-11a1-5965-cd70-eb01ba4efc31@bellis.me.uk>
From: Abtin Keshavarzian <abtink@google.com>
Date: Thu, 16 Feb 2023 13:20:38 -0800
Message-ID: <CACce4dRQBBZYz9a8thMYrCyqJTJb=h83neJS_1K6dfwz9sv9Zw@mail.gmail.com>
To: Ray Bellis <ray@bellis.me.uk>
Cc: tjw ietf <tjw.ietf@gmail.com>, dnssd@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006c754105f4d7c595"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/atcA58mkje3y59UlckDz8J3L_LI>
Subject: Re: [dnssd] [DNSOP] QDCOUNT > 1 (a modest proposal)
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: Thu, 16 Feb 2023 21:22:01 -0000

Hi,

I think the proposal is to fully prohibit "QDCOUNT > 1" and require
resolvers to always reject such queries.
Is my understanding correct?

When there is ambiguity, it may be better to lean towards a more
accommodating clarification.

Ted mentioned the main use-case:
- With Thread (and Matter) more small IoT embedded devices can act as
client performing DNS-SD service resolution.
- These can be battery powered and resource-constrained sensors (limited
memory and computational power, low bandwidth and sleepy).
- For service resolution, they need to get SRV and TXT records for a
service instance name (most likely a local service).

It would be good to allow resolvers to respond to queries containing
questions for SRV and TXT for the same name.
This can be optional (not required but also not disallowed) and/or limited
to local names.

Without this, we require multiple message exchanges (adding inefficiencies)
on a less capable client device to accommodate a far more capable resolver.
Is there any concern with this (that I may be missing)?

Thanks,
Abtin.

On Thu, Feb 16, 2023 at 9:00 AM Ray Bellis <ray@bellis.me.uk> wrote:

>
>
> On 16/02/2023 11:49, tjw ietf wrote:
>
> > This is a great idea Ray and the chairs look forward to your draft
> submission
>
> Joe Abley and I are going to write the "QDCOUNT is 1, dammit!" draft.
>
> I've also just revivied draft-bellis-dnsext-multi-qtypes, but since
> DNSEXT doesn't exist any more (boo!) I'm open to suggestions as to
> whether the draft should go to DNSOP or DNSSD.
>
> Ray
>
> _______________________________________________
> dnssd mailing list
> dnssd@ietf.org
> https://www.ietf.org/mailman/listinfo/dnssd
>