Re: [Doh] EDNS UDP Payload size cache issue

Star Brilliant <m13253@hotmail.com> Wed, 06 June 2018 12:45 UTC

Return-Path: <m13253@hotmail.com>
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 3F087130EFE for <doh@ietfa.amsl.com>; Wed, 6 Jun 2018 05:45:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.876
X-Spam-Level:
X-Spam-Status: No, score=-0.876 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 b2wCunlgyB9b for <doh@ietfa.amsl.com>; Wed, 6 Jun 2018 05:45:09 -0700 (PDT)
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-oln040092011101.outbound.protection.outlook.com [40.92.11.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BE75130EFD for <doh@ietf.org>; Wed, 6 Jun 2018 05:45:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h/Nl19two4+pUoMKeOCYHbl0SRYydK8b6AVXyKvhSOI=; b=FAI+3BZUfDhhz0YrH7QWg4NhxmZvSmNO6vHfAhJvYVItxDKB+S4AFB+T8NCXz6kxNwEr2aN8vI6+dvRKLN7WElzG91gNSczYF37jRRLHQ9IBiPdV4SF8GyfTkFpysoUB/cPGsHDFS8FbfyWX5HAfpw1DyF65Euhw40jDzLNoisEAzadciBlc2/odQ7WP8tG3uLtk81BARyn6KVHurvFcS8zRAYKpx8ZZ08GpBsjFHTaWAMbeqbn1Hzc8tSTyoF6GXM2h4EToe63bcPUsmxIpq+uDOENL8H46fWoJUCLbjTTKt7wpSCRzZFIlEvNXR7MbkAncnVKMrajIyBay5NtNdQ==
Received: from SN1NAM04FT044.eop-NAM04.prod.protection.outlook.com (10.152.88.52) by SN1NAM04HT100.eop-NAM04.prod.protection.outlook.com (10.152.88.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.841.10; Wed, 6 Jun 2018 12:45:07 +0000
Received: from BYAPR19MB2248.namprd19.prod.outlook.com (10.152.88.58) by SN1NAM04FT044.mail.protection.outlook.com (10.152.89.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.841.10 via Frontend Transport; Wed, 6 Jun 2018 12:45:07 +0000
Received: from BYAPR19MB2248.namprd19.prod.outlook.com ([fe80::c536:6718:b509:85cb]) by BYAPR19MB2248.namprd19.prod.outlook.com ([fe80::c536:6718:b509:85cb%4]) with mapi id 15.20.0820.015; Wed, 6 Jun 2018 12:45:07 +0000
From: Star Brilliant <m13253@hotmail.com>
To: "doh@ietf.org" <doh@ietf.org>
Thread-Topic: [Doh] EDNS UDP Payload size cache issue
Thread-Index: AQHT/Y/BYqhjynHkY0KeUSZh8SgpsqRTJmVS
Date: Wed, 06 Jun 2018 12:45:07 +0000
Message-ID: <BYAPR19MB2248808948E11CBAAEE0D4EA94650@BYAPR19MB2248.namprd19.prod.outlook.com>
References: <20180606121257.GA16319@server.ds9a.nl>
In-Reply-To: <20180606121257.GA16319@server.ds9a.nl>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:613959A863FEA6E9DEA43A4768CA9B374C8FCFD4CA9083ADF1E37377A04DAE8C; UpperCasedChecksum:D6602CB14B9E734E19EC5E0DC61E999A4BCFD11E34022321EFFEDD04827582D3; SizeAsReceived:7050; Count:46
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [rITq4nmMGjdofI2wPqQAhWbCOsFgHhxFfooooUjCDM7arX6bnlEfnA==]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; SN1NAM04HT100; 7:KPbJjsxmlmq9Y08Xmz44XCFsCR58OtBRropA3pKF2MULwM5En+IlSJgQP3BGBt2kpKNEMoo+sXgHs+cKRY0kv2WUOtNMRUuZPsrIVudRtMBPuxnFj3yAMcoJgpoolY9ZoBptBHDj9DuNgdtLRPDWtXb27neUP7cvZtlV4AjiEqsvmXoBn+eTIO/sYCA/FwUXwgTVksHax4avTiMhaVl/AaQkPcp7J+A0ONxayl0q8nRvD6ZwJuLHRSNyEJ5ANR83
x-incomingheadercount: 46
x-eopattributedmessage: 0
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125500)(1603101448)(1701031045); SRVR:SN1NAM04HT100;
x-ms-traffictypediagnostic: SN1NAM04HT100:
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:SN1NAM04HT100; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM04HT100;
x-forefront-prvs: 06952FC175
x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(199004)(189003)(82202002)(5660300001)(105586002)(55016002)(6916009)(83332001)(97736004)(486006)(446003)(5250100002)(476003)(104016004)(2501003)(20460500001)(46003)(106356001)(229853002)(11346002)(76176011)(73972006)(8936002)(14454004)(68736007)(59450400001)(99286004)(86362001)(102836004)(6506007)(6346003)(7696005)(81156014)(2900100001)(1730700003)(74316002)(305945005)(9686003)(8676002)(25786009)(6436002)(87572001)(3660700001)(6246003)(3280700002)(5640700003)(33656002)(561944003)(2351001)(15852004)(42262002)(217873001); DIR:OUT; SFP:1901; SCL:1; SRVR:SN1NAM04HT100; H:BYAPR19MB2248.namprd19.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:;
received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=m13253@hotmail.com;
x-microsoft-antispam-message-info: W4UvK56Lzk5Ny+Z2ez/nv0hlPbw4gNYIJ41XpB2bQOeS/BvZBsBdNJu5BwbNeaS8LG2CfXutASkwggM/FVcIrDV2ulGKAdkjnKvig1DAenc56IiOdEsWJux87JvW27ioruyh41JHpeC98x0Gfsk0cLpuGYEUO6Y4/MVEmajd9OcV/blSufchj5X6Epf6/csQ
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 5f082afd-3efd-4af5-d60a-08d5cbab555e
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: c001924d-3e68-4f40-89c2-901a49278da7
X-MS-Exchange-CrossTenant-Network-Message-Id: 5f082afd-3efd-4af5-d60a-08d5cbab555e
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: c001924d-3e68-4f40-89c2-901a49278da7
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2018 12:45:07.3947 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT100
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/gqMw4vL48UxpHAV9_BP-7h96me4>
Subject: Re: [Doh] EDNS UDP Payload size cache issue
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.26
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: Wed, 06 Jun 2018 12:45:11 -0000

bert hubert <bert.hubert@powerdns.com> wrote:

> The draft suggests zeroing the DNS ID field to make sure queries can be
> cached. One other field that needs to be made constant is the EDNS payload
> size. If a client requests DNSSEC, there will always be such a field, but it
> has no meaning over DOH. So it can safely be set to zero.
>
> Suggested text for insertion near the end of "5.1 The HTTP Request":
>
>    Similarly, if an EDNS payload size is specified, it SHOULD be set to 0 in
>    every DNS request, as this field has no meaning within this protocol.


I vote up for this idea.
But why "0", instead of other values (e.g. 65535)?

Also I would like to say something negative about this proposal:

1) It would require more code to implement. Using a DNS message parser library may make the implementation easier, but I am not sure every one wants this, especially because it may fail when later EDNS versions are released in the future.

2) I do not see any benefit for doing it. It does not reduce cache pressure either: common value is almost always 4096.