Return-Path: <marka@isc.org>
X-Original-To: dnsop@mail2.ietf.org
Delivered-To: dnsop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1])
	by mail2.ietf.org (Postfix) with ESMTP id 16BFBA97201D
	for <dnsop@mail2.ietf.org>; Sun, 18 Jan 2026 15:15:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.399
X-Spam-Level: 
X-Spam-Status: No, score=-4.399 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3,
	RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
	RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key)
	header.d=isc.org header.b="ZVCdfwoU"; dkim=pass (1024-bit key)
	header.d=isc.org header.b="TlO/k7Dv"
Received: from mail2.ietf.org ([166.84.6.31])
	by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QOVAw6Lh_reG for <dnsop@mail2.ietf.org>;
	Sun, 18 Jan 2026 15:15:29 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.2.50])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by mail2.ietf.org (Postfix) with ESMTPS id 8AA5CA972016
	for <dnsop@ietf.org>; Sun, 18 Jan 2026 15:15:29 -0800 (PST)
Received: from zimbra10.isc.org (zimbra10.isc.org [149.20.2.90])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest
 SHA256)
	(Client did not present a certificate)
	by mx.pao1.isc.org (Postfix) with ESMTPS id 7F4C74E4337;
	Sun, 18 Jan 2026 23:15:28 +0000 (UTC)
ARC-Filter: OpenARC Filter v1.0.0 mx.pao1.isc.org 7F4C74E4337
Authentication-Results: mx.pao1.isc.org; arc=none smtp.remote-ip=149.20.2.90
ARC-Seal: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1768778128; cv=none;
 b=prn9oK6Z/sNvIQuGmwdXevuNB61EPFtNVmoe8pTbqxENb8CZjNHTB0ubKzh5Z3K+kJregkkY0/Q5Xvr/dqRIZovfOaDNWuWZOx1c3+8NTZJneOCqDtkMRjxPiRAdfO0IEYPFZJ2BmtPLfvGGIadKWsRPz+OuJl72Frq87+q0RLk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1768778128;
	c=relaxed/relaxed; bh=3QQJvdGelC3JAr/jyaIUCLiyo4G5kPzU/p9VSzUTolk=;
	h=DKIM-Signature:DKIM-Signature:Mime-Version:Subject:From:Date:
	 Message-Id:To;
 b=ogbW6BEHjiQQc51plBIdenHCZ1n5t+xXRapY/RkyRxYLDcioyah6jreIluTWHvz2KmNJhE+b2tNdj3zz446VGrEqiH3RU0ztDTX13603eWFZ3q24/ahJVxIATJM+VokONV+Xqn5RsanW5ekeZ44D9k13kkOKvZDif58wObIV6Og=
ARC-Authentication-Results: i=1; mx.pao1.isc.org
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.pao1.isc.org 7F4C74E4337
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay;
	t=1768778128; bh=SQB2X/n/2gH7HN0SIlqkG0vgtoDhTnhHE0FmQ2JPm/8=;
	h=Subject:From:In-Reply-To:Date:Cc:References:To;
	b=ZVCdfwoUy0GW2RileUR64IUzR/mrCnr7yl/vya2lp3dntfG49LyRQY6w1RenkT3hV
	 2b34YRAAIf88swwOh3muNNs64yE3rXk+NI1B6BYQaW7dQLI4KkACnyqKUKzuy/qbBF
	 CACkvYxbRwHZ8CKY0W0kAf6OT/yMmfXLoOLrUqCM=
Received: from zimbra10.isc.org (localhost [127.0.0.1])
	by zimbra10.isc.org (Postfix) with ESMTPS id 789E22E602A0;
	Sun, 18 Jan 2026 23:15:28 +0000 (UTC)
Received: from zimbra10.isc.org (localhost [127.0.0.1])
	by zimbra10.isc.org (Postfix) with ESMTPS id 698802E602C5;
	Sun, 18 Jan 2026 23:15:28 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra10.isc.org 698802E602C5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org;
	s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1768778128;
	bh=3QQJvdGelC3JAr/jyaIUCLiyo4G5kPzU/p9VSzUTolk=;
	h=Mime-Version:From:Date:Message-Id:To;
	b=TlO/k7Dvgy62j2MWDg2a9i1DWB27DGAby+xGAfiFMnFX96jIZiz2z1d5HBnK45/QK
	 xHEpNOWLr9S33o0aDb8+hJFGYPuMCVkROYSoiop1ksKH+o+YdJVlBReXck+ne574Rc
	 O0/nugPEvUnyGbtl5V/n39d96krL2Yz0hgJyNmkM=
Received: from smtpclient.apple (unknown [49.187.18.238])
	by zimbra10.isc.org (Postfix) with ESMTPSA id A1C4B2E602A0;
	Sun, 18 Jan 2026 23:15:27 +0000 (UTC)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.21\))
From: Mark Andrews <marka@isc.org>
In-Reply-To: <m1vghuo-0000McC@stereo.hq.phicoh.net>
Date: Mon, 19 Jan 2026 10:15:15 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <E9345AE8-6D35-49E0-97B2-E3F41747FB7E@isc.org>
References: <9175DF63-77F9-4B4C-9EA9-76B30F941F84@strandkip.nl>
 <e48c41c3-86cf-4e1f-a9ab-195426bdea17@nic.cz>
 <20260115022930.C70F4F11E0CD@ary.qy> <877bth4z9c.fsf@mid.deneb.enyo.de>
 <m1vghuo-0000McC@stereo.hq.phicoh.net>
To: Philip Homburg <pch-dnsop-7@u-1.phicoh.com>
X-Mailer: Apple Mail (2.3731.700.6.1.21)
Message-ID-Hash: ZZTBGXPEQS7NQMLGSB2LSO4DBOLS2USI
X-Message-ID-Hash: ZZTBGXPEQS7NQMLGSB2LSO4DBOLS2USI
X-MailFrom: marka@isc.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: dnsop <dnsop@ietf.org>, Florian Weimer <fw@deneb.enyo.de>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BDNSOP=5D_Re=3A_ordering_of_RRSets_in_the_answer_section_of_a_DN?=
 =?utf-8?q?S_response?=
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/dnsop/tswBQPTKWIjwl3pde_0eUQVG87A>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>



> On 16 Jan 2026, at 22:22, Philip Homburg <pch-dnsop-7@u-1.phicoh.com> =
wrote:
>=20
>> Can stubs just ignore CNAMEs and just extract addresses from A and
>> AAAA records found in the answer section?
>>=20
>> Assuming that the internal stub interfaces eventually discard CNAME
>> data anyway, that would actually result in a simplified =
implementation.
>>=20
>> The current code with CNAME matching allows the upstream server to
>> include unrelated addresses in the answer section that will be
>> ignored.  Retaining this behavior, while relaxing the CNAME ordering,
>> requires quite a bit of extra complexity in stubs.
>=20
> There is a problem with that if the stub relies on a DNSSEC validating =
proxy
> (or if the stub has a DNSSEC validator that just implements the =
specs.)
>=20
> As far as I know, DNSSEC requires the validator to validate every =
RRset in
> the answer and authority sections. It also requires the validator to=20=

> verify that there is proof of NXDOMAIN or NODATA. However, there =
doesn't
> seem any requirement that the validator removes unwanted data.

There is no such requirements. You may be thinking of setting AD=3D1 =
where the
validating resolver is asserting that every RRset in the ANSWER and =
AUTHORITY
sections of the response it is producing has been validated as secure.

Note AD=3D1 is only supposed to be accepted if you trust the resolver =
and can
verify that the answer as not been tampered with.

> That means that an attacker can insert extra RRsets and the stub =
resolver
> believes it is secure because it is behind a DNSSEC validator. So at
> the moment, the only option for the sub resolver is to follow the =
CNAME=20
> chain.
>=20
> _______________________________________________
> DNSOP mailing list -- dnsop@ietf.org
> To unsubscribe send an email to dnsop-leave@ietf.org

--=20
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka@isc.org

