Re: [DNSOP] [Doh] Alternate proposal for transport indication in draft-ietf-dnsop-dns-wireformat-http

Martin Thomson <martin.thomson@gmail.com> Tue, 03 April 2018 07:33 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 00DA012E042; Tue, 3 Apr 2018 00:33:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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=gmail.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 Pkz81NU1LPXh; Tue, 3 Apr 2018 00:33:29 -0700 (PDT)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 D7E0C124205; Tue, 3 Apr 2018 00:33:28 -0700 (PDT)
Received: by mail-oi0-x22f.google.com with SMTP id x9-v6so15095239oig.7; Tue, 03 Apr 2018 00:33:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=xizg3Emz8ih22rVpbemB4uE2/LzTo9M0oPHpAJchoO8=; b=i2z+PzQa/1N5cbMiu2rk9V/SbKrUMeuwAJTeVfPhCeHIFVG6OFrn0Ytw6D6ftRnWlb msb3QXOuSjQyZeVmxLGHCOal3ZawhKg8KnJxfLlNljjN5u7qVMF1hJ+iTNRGiDFgQQuC frvIDPlefnpE5iV7i0mLQXEyMpptv7A57H/DG+YHU9RFvFCnZdYzrkm5yUQAhP2xPNw/ cWIpWnSJj5XRO3gLGsZiazkDye4cSCUTw3ByblvPLFB1rnyDny2JZ6EKZURO5ztTdFZB mIjYPodM+w/N4r+XtFYcZdCgqq26QUR79z3LgehIyT+jt7hJ8IGou5ct1fH3jJa7uZY5 Ov6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=xizg3Emz8ih22rVpbemB4uE2/LzTo9M0oPHpAJchoO8=; b=U0UMcNf8YVARt8tKFW9u9y8Ow6EmEEkaAFd6pqiZxzDxdHWbVL3I6pmbMpmZ6/IqYW HDpwiv18B63Hd/pBmCYsYHOYkRWaWIGtulNx+8MnUlWV3SkcDQJf6+iFqSdy+Y5PnIQK TpQxTYRJP31lqprswH8RPDwAydsuS3+us6dyiVnCuJe4RfPCla9TMszjf2ZG5qnSPvle CO9bo8Ce5G/uZHfHT7h0Ww52nHo+HjGIgWbUu0c7YvjUXpRjj1tYYfiEa55gs/F5z9Oo u8IiBnmbbpdjMVNRVNz6aATnVMNQ++2VSvlopJ3+YpE0+154DQ6OQX6atkV2VmoQApjs 8SeA==
X-Gm-Message-State: ALQs6tDOxCM7Z0G5f8B4HrLqzJeHdg1N/8v6K8820zz/hW+weeBoh/0b Pqu3XWC6xfZh4LuhuRL5SRmyKXz7yYm9huHkqKr00AAw
X-Google-Smtp-Source: AIpwx4/bIrnvfEx+62xjKRXbzBGySw48c4darYLh5k0n3gXfxi1c5Iv7WyEWLEbvaVQM9VGUX1dbJ8sY9BNTXipsoTY=
X-Received: by 2002:aca:ab44:: with SMTP id u65-v6mr7132701oie.272.1522740808208; Tue, 03 Apr 2018 00:33:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:ac7:0:0:0:0:0 with HTTP; Tue, 3 Apr 2018 00:33:27 -0700 (PDT)
In-Reply-To: <69AA6C5D-D348-4956-8A31-FE1EC3A2042E@icann.org>
References: <152168039295.5550.9572034766968749020.idtracker@ietfa.amsl.com> <CAAObRXLm3c-p9rZkn6H6tcEoh3-UT5JW06NXQ_FMyyr2NFMmyw@mail.gmail.com> <23219.33838.166003.614689@gro.dd.org> <CAAObRX+xF5SwVd3x3iXSWd-A0Kpr_ubbOJzn0yTrSk8pc+tm6Q@mail.gmail.com> <23219.56569.2064.711002@gro.dd.org> <CA+nkc8ANQh2wAr6==eNuM82mbD+E2ELzHGizdqF_sGdY-kkOqg@mail.gmail.com> <5AB3E3B7.3080607@redbarn.org> <69AA6C5D-D348-4956-8A31-FE1EC3A2042E@icann.org>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 03 Apr 2018 17:33:27 +1000
Message-ID: <CABkgnnX2jGY_JpVbqJuQdDVUyVzsuM_2CDg4nppfqQHZQm0F+w@mail.gmail.com>
To: Paul Hoffman <paul.hoffman@icann.org>
Cc: DoH WG <doh@ietf.org>, dnsop <dnsop@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/YF-UxE8b5H-yWlq5bdPRpEM7DQI>
Subject: Re: [DNSOP] [Doh] Alternate proposal for transport indication in draft-ietf-dnsop-dns-wireformat-http
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Apr 2018 07:33:31 -0000

This is intended to do what?  Indicate where the response came from?
Why does the client care?  I assume that it doesn't apply to requests,
or that would get into draft-bellis-dnsop-xpf territory.

BTW, you really need to drop UDP from the media type name now.
application/dns-udpwireformat;original_transport=tcp is a bit of a
contradiction.

On Mon, Mar 26, 2018 at 4:48 PM, Paul Hoffman <paul.hoffman@icann.org> wrote:
> Given the use case in draft-ietf-dnsop-dns-wireformat-http, defining a new media type seems like overkill, particularly given that it will be transporting *the exact same* data as an existing media type. Instead, an optional parameter could be added to the application/dns-udpwireformat registration in the DOH document.
>
> Proposal:
>
> =====
>
> In the media type definition, change "Optional parameters" to:
>
> Optional parameters: original_transport
>    original_transport has two defined values, "udp" and "tcp".
>    This is only expected to be used by servers.
>
> Also in the the DOH document, under Operational Considerations, we would add:
>
> This protocol does not define any use for the original_transport optional
> parameter of the application/dns-udpwireformat media type.
>
> =====
>
> Then draft-ietf-dnsop-dns-wireformat-http could define the use of that optional parameter as it sees fit.
>
> --Paul Hoffman
>
> _______________________________________________
> Doh mailing list
> Doh@ietf.org
> https://www.ietf.org/mailman/listinfo/doh