Re: [DNSOP] Fundamental ANAME problems

Tony Finch <dot@dotat.at> Tue, 06 November 2018 19:03 UTC

Return-Path: <dot@dotat.at>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15B11127332 for <dnsop@ietfa.amsl.com>; Tue, 6 Nov 2018 11:03:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 PtdQGXqIqz1T for <dnsop@ietfa.amsl.com>; Tue, 6 Nov 2018 11:03:44 -0800 (PST)
Received: from ppsw-33.csi.cam.ac.uk (ppsw-33.csi.cam.ac.uk [131.111.8.133]) (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 3E23D12008A for <dnsop@ietf.org>; Tue, 6 Nov 2018 11:03:44 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from grey.csi.cam.ac.uk ([131.111.57.57]:55652) by ppsw-33.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1gK6da-000zQ2-gK (Exim 4.91) (return-path <dot@dotat.at>); Tue, 06 Nov 2018 19:03:42 +0000
Date: Tue, 06 Nov 2018 19:03:41 +0000
From: Tony Finch <dot@dotat.at>
To: Ray Bellis <ray@bellis.me.uk>
cc: dnsop@ietf.org
In-Reply-To: <4e5f69be-be07-43ae-8292-418e8e6494ca@bellis.me.uk>
Message-ID: <alpine.DEB.2.20.1811061847560.4343@grey.csi.cam.ac.uk>
References: <CAH1iCirXYsYB3sAo8f1Jy-q4meLmQAPSFO-7x5idDufdT_unXQ@mail.gmail.com> <alpine.DEB.2.20.1811021543210.24450@grey.csi.cam.ac.uk> <20181105083526.GA12204@besserwisser.org> <7704C350-256A-42E3-B718-38FD449A2ADE@hopcount.ca> <770d5dc8-b8a3-c1c3-553f-0e9504389750@bellis.me.uk> <CAJhMdTODiJ7DvN5=sFnvEj-FP=M=2yDN_enk17Bo=En9V8bLjw@mail.gmail.com> <alpine.DEB.2.20.1811061338450.24450@grey.csi.cam.ac.uk> <4e5f69be-be07-43ae-8292-418e8e6494ca@bellis.me.uk>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/aBsMOIYLniw20WqKMHsjESFdD4U>
Subject: Re: [DNSOP] Fundamental ANAME problems
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Nov 2018 19:03:46 -0000

Ray Bellis <ray@bellis.me.uk> wrote:
> On 06/11/2018 20:44, Tony Finch wrote:
>
> > If you are using an _prefix without any meaning of its own but only to
> > move a record away from the apex (so that it can be delegated or CNAMEd)
> > and also using a specific RR type or an RDATA prefix, then wildcards do
> > not conflict.
>
> I believe they still do, e.g.
>
> _domainkey.*.example.com IN TXT ...

You obviously can't do that, but you can do:

	*.example.com TXT ...

and it'll match queries for tag._domainkey.whatever.example.com.

Except that it won't work very well for the specific example of _domainkey
records, because of the tag selector in the qname.

It will probably work OK for DMARC records which do not have any selectors
in the qname and which have a nice prefix in the TXT RDATA.

For the runing LJ example, if you want to match

	_http.fanf.livejournal.com HTTP ...

the zone admin can publish

	*.livejournal.com HTTP ...

But for the HTTP case, the record itself provides enough indirection so
there isn't any need for a _prefix to allow delegation as you might want
to for DMARC.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Fair Isle, Faeroes, Southeast Southeast Iceland: Southeasterly 5 to 7,
occasionally gale 8 in Fair Isle. Rough, occasionally very rough. Occasional
rain. Moderate or good, occasionally poor.