Re: [DNSOP] Second Working Group Last Call for draft-ietf-dnsop-extended-error

Viktor Dukhovni <> Wed, 13 November 2019 23:05 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 4072112083A for <>; Wed, 13 Nov 2019 15:05:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id FyJbe7u4jCOJ for <>; Wed, 13 Nov 2019 15:05:50 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id A4979120837 for <>; Wed, 13 Nov 2019 15:05:50 -0800 (PST)
Received: from [] ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPSA id B5A1332C827 for <>; Wed, 13 Nov 2019 18:05:49 -0500 (EST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Viktor Dukhovni <>
In-Reply-To: <>
Date: Wed, 13 Nov 2019 18:05:47 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <>
References: <> <> <> <> <> <> <>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <>
Subject: Re: [DNSOP] Second Working Group Last Call for draft-ietf-dnsop-extended-error
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 13 Nov 2019 23:05:52 -0000

> On Nov 13, 2019, at 5:50 PM, Wes Hardaker <> wrote:
>>> I added this text to the next version:
>>>     <t>When the response grows beyond the requestor's UDP payload
>>>     size <xref target="RFC6891" />, servers SHOULD truncate messages
>>>     by dropping EDE options before dropping other data from
>>>     packets.  Implementations SHOULD set the truncation bit when
>>>     dropping EDE options.</t>
>> Are you sure that setting TC=1 when EDE doesn't fit is the right
>> trade-off?  I'm somewhat skeptical...
> Well, that's what the other specs say.  We could break from that, you're
> right, and it's a discussion I was going to mention in Singapore for
> that matter.

A colleague suggested that would could use another bit (from the EDNS
flags field, say bit 14 adjacent to DO) to signal that non-essential
diagnostic information was left out.  Resolvers can then choose to
retry over TCP only if they deem it important to retrieve and use
EDE information.

It'd be a shame (though admittedly not frequent) to have a resolver
retry over TCP just to get the same answer with additional information
it does not need and perhaps does not even understand.

Of course this only matters in the rare (when not specifically elicited
by carefully crafted queries) case that it is the EDE options that push
the packet over the UDP size limit, and the rest of the payload would
otherwise just fit.  Perhaps on that basis the extra bit is not warranted.
We could just say that EDE can be silently dropped, or could leave the
text as proposed, with EDE occasionally eliciting "avoidable" TCP retries.