Re: [Doh] Support requirements for Get and Post

Miek Gieben <miek@miek.nl> Sat, 17 March 2018 13:21 UTC

Return-Path: <miek@miek.nl>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB87F12708C for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:21:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=miek-nl.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 VmqXe_OD6Gy1 for <doh@ietfa.amsl.com>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 4D41712762F for <doh@ietf.org>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
Received: by mail-wm0-x231.google.com with SMTP id t3so7786730wmc.2 for <doh@ietf.org>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=miek-nl.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5kWfgVb/346QCoDOjQBwJR1ueraarPcUazsZkw6CIG4=; b=WG75FKiZ509IvNVk8FgalydpE6s/VTScbCY2KKGY69gwR+bbDKJHb1IvteejnanAks d/kSSqDOHgLt9uKqVRU4zFC0ruHl38Sac/pJU0ecSS+n1NduwqpgwHTDJRcteJ+UyRy6 t+o8M6mv33BQPYKPr7Tcd2VbdbHMTJ2De0YI+wd8Mf30UiSaxUEPvaXr2gPmbOuq8YyC UBFFGU1NQ09/KEj31SG+Xgh4Tt5vRmQyTThBJZu9pIfkbXjYCo4ZTIHGlFIwgkGAOZtl u3j1P37712Y8ri6Kgo2Qq2FGzxgaYQLtc4klHThlqY9sxn5pOgSkus/exunyhex3Youp OhEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=5kWfgVb/346QCoDOjQBwJR1ueraarPcUazsZkw6CIG4=; b=aZ6IrwC0QOVWwIbRTuV/okFI7htQjD2Npe/RB0qItejNC+Tv0+K39NRqCaz4pV/Tmz HtWg3xq5aIlaYoS59yRZsdfd4OXx1CUfN78n7lHwnyuAqyw97ifjEaQIj6e0DyHxqNnu GJ59SDRBxQl7X2ve4QqFNHsqQWYcNePx+r4SW3/+y1OQwrDXligc7VpD5VYtGr5pKwob zsR2CRpDV2zByMlULsWyGwM5/sAXgrWtK4O95JtCRtHVzfPflrLO5VHN6I+WxR/fRX7D vU+dAsSkCcRSO70Uw6XLjIZSJFyWoZneIk68suLaXxDIJrxd9xqDdYCquPbvhv8C2qI3 2tUA==
X-Gm-Message-State: AElRT7Gmr4pslgIBs/HzRQTWPIqddSn2G14OWrfkLWrpEZmEL//oMOsq yCwsBSBF0ozl51TnUL+3KdstNQ==
X-Google-Smtp-Source: AG47ELsG7DtuWv4+IyQO7cst+U3SAzalmA285+Kzl1Ddb1zHdjv+7Sf/Ox+9jCgsbHoVCtA+7OlRJQ==
X-Received: by 10.28.94.11 with SMTP id s11mr4125470wmb.159.1521292883786; Sat, 17 Mar 2018 06:21:23 -0700 (PDT)
Received: from miek.nl ([2001:67c:1232:144:b320:5945:16d2:52c4]) by smtp.gmail.com with ESMTPSA id k44sm154899wrk.6.2018.03.17.06.21.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Mar 2018 06:21:23 -0700 (PDT)
Date: Sat, 17 Mar 2018 13:21:22 +0000
From: Miek Gieben <miek@miek.nl>
To: =?iso-8859-1?Q?=D3lafur_Gu=F0mundsson?= <olafur@cloudflare.com>
Cc: doh@ietf.org
Message-ID: <20180317132122.wchzgiuayhvpmpm4@miek.nl>
Mail-Followup-To: =?iso-8859-1?Q?=D3lafur_Gu=F0mundsson?= <olafur@cloudflare.com>, doh@ietf.org
References: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <CAN6NTqzkUeF79y=heQ7PK7T3mQVDDk5WRtqB-npi6PuQ2s5bNQ@mail.gmail.com>
User-Agent: Vim/Mutt/Linux
X-Home: http://www.miek.nl
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/qyXgh-v1ZjVQEUjX-CIEedtg43s>
Subject: Re: [Doh] Support requirements for Get and Post
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 17 Mar 2018 13:21:30 -0000

[ Quoting <olafur@cloudflare.com>; in "[Doh] Support requirements for Get ..." ]
>Implementation requirements
>
>Post MUST be supported Get MAY be supported, when GET is not supported the
>error code retuned should be 405 (HTTP RFC 7321, section 6.5.5).
>
>Reasoning: In many web servers POST is not logged but GET is. Thus from a
>privacy point of view clients that do not want to have their queries logged
>by servers stand a better chance by using POST.

I agree with this.

On a side note: as an DNS library implementer I would like to expose as little 
knobs as possible and just default to one way of using DoH.

/Miek

--
Miek Gieben