[Doh] Dedicated DoH port

Tomas Krizek <tomas.krizek@nic.cz> Thu, 11 April 2019 17:41 UTC

Return-Path: <tomas.krizek@nic.cz>
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 2240A120607 for <doh@ietfa.amsl.com>; Thu, 11 Apr 2019 10:41:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 sMMIcP82L5g7 for <doh@ietfa.amsl.com>; Thu, 11 Apr 2019 10:41:39 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9A06120608 for <doh@ietf.org>; Thu, 11 Apr 2019 10:40:56 -0700 (PDT)
Received: from [192.168.42.125] (ip-89-102-31-19.net.upcbroadband.cz [89.102.31.19]) by mail.nic.cz (Postfix) with ESMTPSA id D81B260710; Thu, 11 Apr 2019 19:40:52 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1555004452; bh=JMHQk5HpZHmPVyNfZmH4c8GMZXR0Yb9XIh/+ZeS0fnc=; h=From:To:Date; b=BPzSfG6yuyisrZDdPvFW5gc6S6YDBea/phYMOaeIXso+EZQok0sFsk3VBjq2DYXLS /0dmyeXwxjyq0PG4QDCPIl1XTc7wdtb7hQ3o9XzyftaC7vIH9OGF2PjuqSAErH2I8R 1rdXIDRZ5cqlOVieKMtkhJA8ZWTD6DaPaTEp2uYg=
From: Tomas Krizek <tomas.krizek@nic.cz>
Openpgp: preference=signencrypt
Autocrypt: addr=tomas.krizek@nic.cz; prefer-encrypt=mutual; keydata= mQINBFhITjsBEACn+jYk59OSa7eul+bIaZERXTfhgfC6esfC5WPV0NmCig0W1JbunWglYX3B s1FJR4OCpchrbAQW3bEYDsddvy5rCbaG0IoOqNsd5GEhCmegDLNU/l36P83UUw8kkSJhlKr/ U+EO+bFyKljmF+dE+OvIky1A+wd1zgRkcljr9DOfdLsAqL4nIb/LC99ZD27laSEAoaZagHXW MVP0EExM3+T4V5sPJ3ghrK1hAk5spAX9yHUSF242zo+5Sj/l/dGL/PXDeCJPHjfdQNUkKcRT VlbAIjfl5mk//73z3XmRSKp9R5HsCKQjBC5Q38a/ZVDdaiSwIxw2sDLrI4+91ycsJ3gjtyiq yO43a4Y6mQHw9VZxudYG1hJ1+pAEPyLo/xIpGIlOo6BmmSz7gYgTPKB/dmGFOx/Qtrt8jNti y3oyRRMPdQ2Vl/MRAZ+OVSsSplf0uGFrhWOX6OPl6h7hu1mMbmHrQtgs835ZVfMf2IoK6QkF NFkn6HbdgF+4IZaX4br1WqZN2c51hKcIE4AHTSVSXwXRgdN/7Q2bmOH2IvfqTOX3HyfrIqUL nqUuD4tZB5Q+z7V5H6vzG5GR2CFlwkSgaayoplLG7h4Xh6Hyman95tl/xS61TeSfnv7NYIZj 6fw4veUUALQlTwDkOh17wByJitvYfBkoiCY7ShAxYyBckGGFxQARAQABtCJUb21hcyBLcml6 ZWsgPHRvbWFzLmtyaXpla0BuaWMuY3o+iQJXBBMBCABBAhsDBQsJCAcCBhUICQoLAgQWAgMB Ah4BAheAAhkBFiEESoukjCrtkzvUlcUJoful9++MSGkFAlwZInQFCQXe2rkACgkQoful9++M SGnRWw//f6g+dd4dd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9WO9B6Mpns/Ab61+JAjwE GAEIACYCGyAWIQRKi6SMKu2TO9SVxQmh+6X374xIaQUCXBki0gUJA8IjjgAKCRCh+6X374xI aY5tD/9Fw9WHqaFvcNu41M5oQjUbWl1jY6FutXgm+tapmHsWdQ6nTEA8Ch93HRUJC4I8grNR e4xd9qEZLGw+lrlmKhhroNqrzoaCIbl2/zRE4Pl0UOaMV/xR8x01Jr9kE6rrkHQt9HuSMffJ M76sqHEh95ZTfTWW6m228gRN3Wduqt2Mu0vlSQSdegog8DP7KnR5i/LcdgUfAm5D5NlBvJwR W55PJ24bp/zFCFZAQXMN75so4OLiig/yWgsnz2yxEsg/79aRf6p4R4jOy+aP/V43iJJKQkDx BG5X08kh+QBaGTaUHqalnOccIX9DcM4G9bz2WZySg3njmXVjRyD5ayNmy+WixhaMjKgudAAv zKqHpT6qKBwc4r+kqGxySvsVIU6IUxs9zzrUrwgyB5WRO45JZ5ZOXPOOFyEEIfb+VcMSzu5N 4U9vOAxGCTBhjEjJyai7Zz4hgx3c48rNMDmByHL9sd8GwwGoCdoCDiZti62fBYxUfsHtoaxb kSnXMtN0LeQclHSjQpDMO/k2Ow8/19sG8XqW+d4nLz+7se4QjmNEf8xAkice+t7hEtu8sqcu vfISaURjPOEYzPdTymo7Bd9aYICCewHgCJEP1n0Fk5dj6ZMmUR86vDE2wm7qaEDc9M5sDqV3 pHNUGPUm3ANtW8nHF/R57lLE9IGZBe82eO9g+s9qtg==
To: doh@ietf.org
Message-ID: <d74add8f-8964-1c0f-cd2e-f10867390883@nic.cz>
Date: Thu, 11 Apr 2019 19:41:42 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K2rrw6pkMrRybeHphJmOBkfgJ5Mq7I56u"
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/pP_zlnt0AhjXQAn7DJwegoZBTfs>
Subject: [Doh] Dedicated DoH port
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 11 Apr 2019 17:41:42 -0000

Disclaimer: I don't adocate the use of a dedicated DoH port rather than
using port 443 for most DoH traffic. I'm simply trying to establish
reasonable defaults as a software developer and packager.

Knot Resolver will use 44353 as the default port for DoH. We've
considered using port 443 by default, but it presents many challenges.

If an admin is already running an https service on the machine, the
clash with DoH resolver can be quite problematic. In best case scenario,
the admin runs into an error (not able to bind to port 443 - quite
cryptical for someone trying to run DNS resolver who's not up to date
about DoH development). In a worse case scenario, the DoH service might
actually seem to successfully start and run alongside the unrelated
https service (e.g. when both services use systemd socket activation
with ReusePort=true - basically SO_REUSEPORT under systemd).

Those who know what they're doing will have no issues configuring their
DoH service to run on port 443. However, I think it's reasonable to use
a different, dedicated port as DoH default for packaging, documentation etc.

Since there is currently no IANA assigned DoH port, I've filed the
following user port request with IANA to establish a common default that
could be used among DNS vendors.

Service Name:         [domain-doh]
Desired Port Number:  [44353]
Description:          [DNS query-response protocol over HTTPS]
-- 
Tomas Krizek
PGP: 4A8B A48C 2AED 933B D495  C509 A1FB A5F7 EF8C 4869