Re: [Doh] Support requirements for Get and Post

Miek Gieben <> Sat, 17 March 2018 13:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id AB87F12708C for <>; Sat, 17 Mar 2018 06:21:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.599
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: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id VmqXe_OD6Gy1 for <>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
Received: from ( [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 4D41712762F for <>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
Received: by with SMTP id t3so7786730wmc.2 for <>; Sat, 17 Mar 2018 06:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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 with SMTP id s11mr4125470wmb.159.1521292883786; Sat, 17 Mar 2018 06:21:23 -0700 (PDT)
Received: from ([2001:67c:1232:144:b320:5945:16d2:52c4]) by with ESMTPSA id k44sm154899wrk.6.2018. (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 <>
To: =?iso-8859-1?Q?=D3lafur_Gu=F0mundsson?= <>
Message-ID: <>
Mail-Followup-To: =?iso-8859-1?Q?=D3lafur_Gu=F0mundsson?= <>,
References: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <>
User-Agent: Vim/Mutt/Linux
Archived-At: <>
Subject: Re: [Doh] Support requirements for Get and Post
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DNS Over HTTPS <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sat, 17 Mar 2018 13:21:30 -0000

[ Quoting <> 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 Gieben