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

Paul Vixie <paul@redbarn.org> Mon, 26 March 2018 06:08 UTC

Return-Path: <paul@redbarn.org>
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 0448C127058; Sun, 25 Mar 2018 23:08:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 lHoRJu_Rgvo8; Sun, 25 Mar 2018 23:08:34 -0700 (PDT)
Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EACBA126E01; Sun, 25 Mar 2018 23:08:34 -0700 (PDT)
Received: from [IPv6:2001:559:8000:c9:4ca8:bd4c:848b:7427] (unknown [IPv6:2001:559:8000:c9:4ca8:bd4c:848b:7427]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id AB60C7594C; Mon, 26 Mar 2018 06:08:34 +0000 (UTC)
Message-ID: <5AB88E60.5010007@redbarn.org>
Date: Sun, 25 Mar 2018 23:08:32 -0700
From: Paul Vixie <paul@redbarn.org>
User-Agent: Postbox 5.0.24 (Windows/20180302)
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@icann.org>
CC: DoH WG <doh@ietf.org>, dnsop <dnsop@ietf.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>
In-Reply-To: <69AA6C5D-D348-4956-8A31-FE1EC3A2042E@icann.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/N1Yd3DKi-oFBUhwYbWIhsB5t9EM>
Subject: Re: [DNSOP] 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: Mon, 26 Mar 2018 06:08:36 -0000


Paul Hoffman 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.

s/servers/proxies/

> 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.

so this would look like

content-type: application/dns-udpwireformat; tcp

?

-- 
P Vixie