Re: [DNSOP] CNAME chain length limits

John R Levine <johnl@taugh.com> Wed, 27 May 2020 19:26 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 F0EE23A0A36 for <dnsop@ietfa.amsl.com>; Wed, 27 May 2020 12:26:26 -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=HTE3pcsZ; dkim=pass (1536-bit key) header.d=taugh.com header.b=VZcpZ3mX
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 uJUG25f5ohEa for <dnsop@ietfa.amsl.com>; Wed, 27 May 2020 12:26:25 -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 C0D1C3A0A34 for <dnsop@ietf.org>; Wed, 27 May 2020 12:26:24 -0700 (PDT)
Received: (qmail 19805 invoked from network); 27 May 2020 19:26:23 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=4d5b.5ecebedf.k2005; i=johnl-iecc.com@submit.iecc.com; bh=+JEfaBeUSugsb5DlF56d2SX5hYzurZqbjJmvn1qODZo=; b=HTE3pcsZNVf8O7SCuKZIx3wVMbNn7hqUzFrLK8CTGEUGo/weJanSJpSzSpRGa4ChWmxFVqpH8uj7Hzn/DTlj5BgNDdHpdADKq7BIgRku20XDKdH28iOYE5iPnd5AxV3Y0N3spOhehBqd4nUTh1gHKUevhhaIGQ5i8W4z1IOwWbO9mjkhKsOxMLXsMBBddvjiSj1Fm1Id3S1OEWpi+P/z3cUcPs2LGtMkvojTt3bBEXDlK/EvksOK8hsEEtSkZIaH
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:user-agent; s=4d5b.5ecebedf.k2005; olt=johnl-iecc.com@submit.iecc.com; bh=+JEfaBeUSugsb5DlF56d2SX5hYzurZqbjJmvn1qODZo=; b=VZcpZ3mXVxSj1IkMdSib9dJbsJmNgFGrU19/rZV0/h58sfhvmh0phxcFo0nbyempGQqpGXOZar+fLEDgpo2CcezmK9v3SXJ0uBe3aYA+WEqNcxq9lgklTW8yk/0IzDISQj2NHOXh+kr08NLP5YL0YDU0c53ooYsKT8/oFStFiYSFQbpLiS2zvCHJO0/0DulHsc4qBJo/oSZX9j7Tq5zxvSulvcqiivztGRHSDy8qpBOORfEetqpsFhr42ueuVqen
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 19:26:23 -0000
Date: Wed, 27 May 2020 15:26:23 -0400
Message-ID: <alpine.OSX.2.22.407.2005271507290.35584@ary.qy>
From: John R Levine <johnl@taugh.com>
To: Eric Orth <ericorth@google.com>
Cc: dnsop <dnsop@ietf.org>
In-Reply-To: <CAMOjQcFY4CpM_a7Q=KZ7UTuPW4SdRX1CNcSbviw0FSfDSt6_hA@mail.gmail.com>
References: <alpine.OSX.2.22.407.2005271341530.35268@ary.qy> <CAMOjQcFY4CpM_a7Q=KZ7UTuPW4SdRX1CNcSbviw0FSfDSt6_hA@mail.gmail.com>
User-Agent: Alpine 2.22 (OSX 407 2020-02-09)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/a_Upul_YMTh91oR4hvglBahFMMo>
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 19:26:27 -0000

>> 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,
>
> If Chrome is using its built-in stub, there's not expected to be a limit
> (other than the overall message size limits), but nothing tests chains this
> long other than security fuzzers that are only looking for crashes or
> memory issues.

On my Mac, I get surprisingly consietent browser results.  In Chrome, 
Firefox, and Safari, chain10.examp1e.com works, chain11.examp1e.com fails 
slowly.  From the TTLs I get from dig, it appears that none of them are 
using the resolver to follow the CNAME chains.  For Firefox I have the 
canary domain blocked so I dunno what it is doing.

>> chain12.examp1e.com.    3449    IN      CNAME   chain11.examp1e.com.
>> chain11.examp1e.com.    3486    IN      CNAME   chain10.examp1e.com.
>> chain10.examp1e.com.    3455    IN      CNAME   chain9.examp1e.com.
>> chain9.examp1e.com.     3455    IN      CNAME   chain8.examp1e.com.
>> chain8.examp1e.com.     3455    IN      CNAME   chain7.examp1e.com.
>> chain7.examp1e.com.     3455    IN      CNAME   chain6.examp1e.com.
>> chain6.examp1e.com.     3455    IN      CNAME   chain5.examp1e.com.
>> chain5.examp1e.com.     3455    IN      CNAME   chain4.examp1e.com.
>> chain4.examp1e.com.     3455    IN      CNAME   chain3.examp1e.com.
>> chain3.examp1e.com.     3455    IN      CNAME   chain2.examp1e.com.
>> chain2.examp1e.com.     3455    IN      CNAME   chain1.examp1e.com.
>> chain1.examp1e.com.     3466    IN      CNAME   chain0.examp1e.com.
>> chain0.examp1e.com.     3460    IN      A       64.57.183.119

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly