Re: [DNSOP] ANAME loop detection

Tony Finch <dot@dotat.at> Thu, 04 July 2019 15:37 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 1906C12010C for <dnsop@ietfa.amsl.com>; Thu, 4 Jul 2019 08:37:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_NONE=0.001, 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 C3v4RCKbtuBz for <dnsop@ietfa.amsl.com>; Thu, 4 Jul 2019 08:37:55 -0700 (PDT)
Received: from ppsw-31.csi.cam.ac.uk (ppsw-31.csi.cam.ac.uk [131.111.8.131]) (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 0DAB612006F for <dnsop@ietf.org>; Thu, 4 Jul 2019 08:37:54 -0700 (PDT)
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]:43208) by ppsw-31.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.137]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1hj3o1-001QYN-KO (Exim 4.92) (return-path <dot@dotat.at>); Thu, 04 Jul 2019 16:37:53 +0100
Date: Thu, 04 Jul 2019 16:37:53 +0100
From: Tony Finch <dot@dotat.at>
To: Jan Včelák <jv@fcelda.cz>
cc: dnsop <dnsop@ietf.org>
In-Reply-To: <CAM1xaJ9txy98s5Y+Sq5T5N1KaD-LvtrDTut=mUomjHFwTvWnDg@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1907041633590.8402@grey.csi.cam.ac.uk>
References: <CAM1xaJ9txy98s5Y+Sq5T5N1KaD-LvtrDTut=mUomjHFwTvWnDg@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
MIME-Version: 1.0
Content-Type: multipart/mixed; BOUNDARY="1870870841-55572377-1562254673=:8402"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/c8OCi8JjT2KdX8HtL8TxL8Z5pRg>
Subject: Re: [DNSOP] ANAME loop detection
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: Thu, 04 Jul 2019 15:37:57 -0000

Jan Včelák <jv@fcelda.cz> wrote:
>
> 2. QTYPE=ANAME: According to the current version of the draft, server
> answering to ANAME must include the ANAME and should include the
> sibling records. Let's modify the behavior and say the server should
> not (must not) include the sibling records. Then the server performing
> ANAME sibling address resolution could first query for ANAME before
> trying A or AAAA. We get the same loop detection mechanism as with
> CNAMEs at the cost of an extra query per ANAME

The main reason I thought it would be a good idea to include sibling
address records in ANAME responses was so that we could get a one-shot
address query as a side-effect. But I think we keep learning that it is a
bad idea to load too much stuff onto ANAME, so I think it's a reasonable
trade-off to ditch the addr query feature so that loop detection is
easier.

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Isle of Man: West or southwest 3 or 4, becoming variable 2 at times. Smooth or
slight. Fair. Good.