Re: [DNSOP] abandoning ANAME and standardizing CNAME at apex

Tony Finch <dot@dotat.at> Fri, 22 June 2018 20:08 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 879C6130EE7 for <dnsop@ietfa.amsl.com>; Fri, 22 Jun 2018 13:08:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 1Rlr76rcE8IL for <dnsop@ietfa.amsl.com>; Fri, 22 Jun 2018 13:08:07 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DE81130EE5 for <dnsop@ietf.org>; Fri, 22 Jun 2018 13:08:07 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C1AFC21C1D; Fri, 22 Jun 2018 16:08:06 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 22 Jun 2018 16:08:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=QWb29Y //JhWdXtkAqyAGSdVcDzhEKh3SbkvJOwqTxrs=; b=vN8f2HHfN6co5MaLrVDNTk DIUtO9d5kmJdncyZ1eZFxj1sf3Q7j3xqpcy02UTDJgWZVT6NVGqvY7YQ/EC6LrrT LgyeWNb02BU1/hRFXskxXL50qxgW/Dx71xX5YiiNZdBFv9FADAmUITpSGkU+l3Pn ENhEjzczMkI4G8fgxfqC46iK8WQxmgJgrhk5iGefu02ypLdv5ZwhKOXY96d3Wpjm tMyFCf9Cet/UNKTAt9TQcWndYpc1HBW9PISUV5uu2RsxPyil4+oYA/agq3Y9akJ8 mBa+belq2Mu0EurbhrMH8fJ7ow3Nbf14h/HrD97BgWL+sEQi7ulwEy1aCm75JI8A ==
X-ME-Proxy: <xmx:JlctWzzOTMYbZwX1TAB5I54TgS0Kv1c_DISM5nx-ohZvP0Tw_2VTYg> <xmx:JlctW7etlsuQShQBb_PJlkN9T6Jx54GoErFe5_hUGGTgHo2KCltRDw> <xmx:JlctW_KpyA2NdWDOUX7YYnqqxctqmbbOzSmIK6NEF57pxU91xkp-Sw> <xmx:JlctW8FF_pctMzwYSsU494VjltX60GTNefROywFg-G3QaPlKcEQMLA> <xmx:JlctW5oEc3N4i6mNl38BENIP-FewrlBRZX5UoczbeUNxcYohviVafA> <xmx:JlctW2NHr6nGQs62xDAXqjZp9q8gjXq2brsTVxMfWwcHKeZ4DpPHcA>
X-ME-Sender: <xms:JlctW-dQAdZWyhiaQcPZD4KBEw5tv_m3F2C1dXISLvrgPYC8KaTP4g>
Received: from [192.168.1.72] (unknown [195.147.34.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 2F468E4329; Fri, 22 Jun 2018 16:08:06 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (1.0)
From: Tony Finch <dot@dotat.at>
X-Mailer: iPhone Mail (15F79)
In-Reply-To: <CAHw9_iLN0w=k0hZLsOCJXnA58afACuzxgXdYPPEn_HShm6Q4aw@mail.gmail.com>
Date: Fri, 22 Jun 2018 21:08:04 +0100
Cc: muks@mukund.org, jabley@automagic.org, dnsop <dnsop@ietf.org>, Ray Bellis <ray@bellis.me.uk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <43D87A94-E356-4B82-BB0B-C40701E981FB@dotat.at>
References: <b73f3dc7-b378-d5d8-c7a2-42bc4326fbae@nic.cz> <alpine.DEB.2.11.1806191428250.916@grey.csi.cam.ac.uk> <691FC45D-E5B6-4131-95BF-878520351F3A@gmail.com> <bf0ba568-1a18-f8cf-c1a0-3f547d642a78@bellis.me.uk> <0438207E-A4C2-434D-9507-9D9F54765CFB@puck.nether.net> <alpine.DEB.2.11.1806191649350.916@grey.csi.cam.ac.uk> <9a0d1bae-dc58-99b5-40d1-caa7737dbfb1@bellis.me.uk> <1B7B2BB4-F0AE-4188-B89B-DF032BE7A237@automagic.org> <CAHw9_iKWhRjK6yzSSWVsCBqjdVfTnzVkUh8PMYC5nwQUb_=yvw@mail.gmail.com> <20180622191334.GA15349@jurassic> <CAHw9_iLN0w=k0hZLsOCJXnA58afACuzxgXdYPPEn_HShm6Q4aw@mail.gmail.com>
To: Warren Kumari <warren@kumari.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/vTKEECGnqoGeV6Kn2uQKaHygmJo>
Subject: Re: [DNSOP] abandoning ANAME and standardizing CNAME at apex
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.26
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: Fri, 22 Jun 2018 20:08:10 -0000

The problem with SRV (and MX) is that you can’t tell what an empty additional section means. (By “you” I mean anything in the resolver chain: app, stub, recursor, etc.)

If the AAAA records are missing, does that mean there aren’t any? Does it mean they were not cached? Does it mean the server chose not to provide them for some other reason?

If you want to find out, you have to make a follow-up query to get a clear answer, so you have spent two round trips instead of one. And hopefully your recursive server omitted the AAAA because it has an ncache entry so you get a quick answer, but that’s unlikely if the auth server didn’t provide AAAA and the resolver didn’t eagerly go chasing (which they don’t) and you are an early adopter of SRV so no one else filled the ncache for you.

This can (in theory) be fixed with DNSSEC, but the additional section processing rules have to be changed so that they require the nonexistence proof when records are missing, and of course stubs and apps have to be changed to understand the NSEC(3) records.

Mail servers generally regard additional sections as too unreliable to be useful, and take the simpler slower approach of making all the queries explicitly. It works for them because they are not especially worried about latency.

Because of all this I can sympathize with browser authors to some extent; on the other hand, if they had adopted SRV before it was too late, we might have done more to fix these problems in the last 22 years. (eg an EDNS option to disambiguate missing additional records, maybe.)

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>;  http://dotat.at