Re: [DNSOP] CNAME chain length limits

John R Levine <johnl@taugh.com> Wed, 27 May 2020 18:48 UTC

Return-Path: <johnl@taugh.com>
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 4C7933A0857 for <dnsop@ietfa.amsl.com>; Wed, 27 May 2020 11:48:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=SCFZpnTM; dkim=pass (1536-bit key) header.d=taugh.com header.b=KCm3Zqiy
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 IYgMWESjzDQi for <dnsop@ietfa.amsl.com>; Wed, 27 May 2020 11:48:41 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 E8EEF3A0844 for <dnsop@ietf.org>; Wed, 27 May 2020 11:48:40 -0700 (PDT)
Received: (qmail 12602 invoked from network); 27 May 2020 18:48:38 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type:user-agent; s=3138.5eceb606.k2005; i=johnl-iecc.com@submit.iecc.com; bh=ZgSE7alhKWjFMrKfgY65Gv9YyeIMOWm1CuzMFwmsIgg=; b=SCFZpnTM7KxUtfenVyKrgdrX6U3xZn8izrPu36RZVAbf7G4FeAmgV5tEzZoqIo6/MjXs1DPaW81TpSIukmOJsKLZOq2n39E7vzUppjOyQ9MekavXTkLn66NQRBSpG1kJqGg6BJKEdZ6ya4ToFKecYMJJ+PUAOkpup+jNkpL1LE/cu5pRkfP1vUGOsX3DyMijsNZ6gC8wUGeiGspQXalxVHz4B3tefZXYDv8wCxsqV7Kn4xJVZGHTrqyRmn7Rx5QI
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type:user-agent; s=3138.5eceb606.k2005; olt=johnl-iecc.com@submit.iecc.com; bh=ZgSE7alhKWjFMrKfgY65Gv9YyeIMOWm1CuzMFwmsIgg=; b=KCm3ZqiyCuIF+zUxI/VFtCtQZXK5P6Shwufo2ojFy8y9Ltpggie4VR9QfMDWahBcx/5yWFX5FXR6FAzBMLzqBSQUZcU9n9uQIUtg+V2SKlIizmjPcZeoS/eMXfmzgEihvXlihsmoVzEK5H2Ihx2VqfnCTJMKNVTxtbp2Hal/3N9CQuI+yrLMKtey7va+PPwNts1/p4AtISZVaQycPBnpDr1cAKCgo8fbn3thJTXpj6RPMH3Op60FddX1xh7Jb1RE
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.3 ECDHE-RSA AES-256-GCM AEAD, johnl@iecc.com) via TCP6; 27 May 2020 18:48:38 -0000
Date: Wed, 27 May 2020 14:48:38 -0400
Message-ID: <alpine.OSX.2.22.407.2005271447120.35546@ary.qy>
From: John R Levine <johnl@taugh.com>
To: dnsop@ietf.org
In-Reply-To: <alpine.OSX.2.22.407.2005271341530.35268@ary.qy>
References: <alpine.OSX.2.22.407.2005271341530.35268@ary.qy>
User-Agent: Alpine 2.22 (OSX 407 2020-02-09)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-936893982-1590605318=:35546"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/4SX-PZx4xn8NtlSccKJ3saHn8fM>
Subject: Re: [DNSOP] CNAME chain length limits
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: Wed, 27 May 2020 18:48:43 -0000

On Wed, 27 May 2020, John R Levine wrote:
> While I should have been doing something else, I made a rather long CNAME 
> chain.  When I looked up chain.examp1e.com it got SERVFAIL, but after I 
> warmed up my cache five links at a time by looking for chain5, chain10, 
> chain15, and so forth, it worked.  At least it worked in "dig" and "host". 
> When I try and look up http://chain.examp1e.com, Chrome waits a while and 
> says not found, Firefox waits a while and says "Hmm. We’re having trouble 
> finding that site." and Safari on my Mac hangs.  (Feel free to try it 
> yourself.)

FWIW, the cache is unbound 1.10.1.

R's,
John

> I realize the answer to most questions like this can be summarized as "don't 
> do that", but is there any consensus as to the maximum CNAME chain length 
> that works reliably, and what happens if the chain is too long? Hanging seems 
> sub-optimal.