Re: [DNSOP] RCODE and CNAME chain

Florian Weimer <> Thu, 27 April 2017 10:53 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 37FAD128B93 for <>; Thu, 27 Apr 2017 03:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id Y1R98-Y1nl_6 for <>; Thu, 27 Apr 2017 03:53:39 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id B4210128B8E for <>; Thu, 27 Apr 2017 03:53:39 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 2A7097E9F2; Thu, 27 Apr 2017 10:53:39 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 2A7097E9F2
Authentication-Results:; dmarc=none (p=none dis=none)
Authentication-Results:; spf=pass
DKIM-Filter: OpenDKIM Filter v2.11.0 2A7097E9F2
Received: from ( []) by (Postfix) with ESMTPS id D47638909B; Thu, 27 Apr 2017 10:53:36 +0000 (UTC)
To: Mark Andrews <>, Jan Včelák <>
Cc:, Peter van Dijk <>,
References: <20170405054338.GA15831@jurassic> <> <> <> <> <>
From: Florian Weimer <>
Message-ID: <>
Date: Thu, 27 Apr 2017 12:53:35 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.79 on
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 ( []); Thu, 27 Apr 2017 10:53:39 +0000 (UTC)
Archived-At: <>
Subject: Re: [DNSOP] RCODE and CNAME chain
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 27 Apr 2017 10:53:41 -0000

On 04/27/2017 11:31 AM, Mark Andrews wrote:
> If you want to advocate for changes to behaviour that is fine, but
> advocate for that.  Just saying "shouldn't the rcode be NOERROR"
> isn't doing that.  Then there is DNSSEC.  If the target zone is
> signed and DO=1 is set in the query should you include the data
> from the target zone?

Do you suggest to use data which is impossible to use under the trust 
rules because it is cryptographically signed?

This would mean that many DNSSEC validation bugs turn into critical 
cache poisoning bugs because they can be used by off-path attackers to 
poison caches.  (Usually, a single query for an attacker-controlled name 
would be enough, and it could likely be a PTR query.)  I'm not sure if 
saving a server round-trip is worth it.  In particular since the 
recursive resolver already has the infrastructure records for the target 
in cache if it can do cryptographic validation, it should know exactly 
where to fetch the target record anyway.

In general, cryptography as the single line of defense is a very, very 
bad idea because it almost never works correctly.