Re: [DNSOP] My "toxic" remark at the mic today

Tony Finch <dot@dotat.at> Thu, 05 November 2015 11:54 UTC

Return-Path: <fanf2@hermes.cam.ac.uk>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 336461ACEC4 for <dnsop@ietfa.amsl.com>; Thu, 5 Nov 2015 03:54:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 DgbZ58KdGy0F for <dnsop@ietfa.amsl.com>; Thu, 5 Nov 2015 03:54:41 -0800 (PST)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) (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 1A1261ACEAE for <dnsop@ietf.org>; Thu, 5 Nov 2015 03:54:41 -0800 (PST)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:46233) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:25) with esmtpa (EXTERNAL:fanf2) id 1ZuJ7n-0008QH-Rn (Exim 4.86_36-e07b163) for dnsop@ietf.org (return-path <fanf2@hermes.cam.ac.uk>); Thu, 05 Nov 2015 11:54:39 +0000
Received: from fanf2 by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1ZuJ7n-0003j5-Gx (Exim 4.72) for dnsop@ietf.org (return-path <fanf2@hermes.cam.ac.uk>); Thu, 05 Nov 2015 11:54:39 +0000
Date: Thu, 5 Nov 2015 11:54:39 +0000
From: Tony Finch <dot@dotat.at>
X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk
To: dnsop@ietf.org
In-Reply-To: <20151105105009.53009.qmail@ary.lan>
Message-ID: <alpine.LSU.2.00.1511051138160.959@hermes-2.csi.cam.ac.uk>
References: <20151105105009.53009.qmail@ary.lan>
User-Agent: Alpine 2.00 (LSU 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/adrEUoWPq1EoxonkvcCJCnEkcFg>
Subject: Re: [DNSOP] My "toxic" remark at the mic today
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
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, 05 Nov 2015 11:54:45 -0000

John Levine <johnl@taugh.com> wrote:
>
> On the other hand, there's at least one delegated TLD that has a DNAME
> at the apex.  It's been around for several years, it seems to work OK.

$ dig axfr . |
  sed -E '/^([a-z0-9-]+)[.][ 	].*/!d;s//\1/' |
  sort -u | while read d; do
  dig +noall +answer DNAME $d.; done
xn--kprw13d.            86400   IN      DNAME   xn--kpry57d.
xn--mgba3a4f16a.        1440    IN      DNAME   xn--mgba3a4f16a.ir.

Scanning the root zone is getting slow without concurrency :-) The above
takes 3 minutes from a cold cache whereas adns takes 12 seconds (though
you have to hack round its lack of support for DNAME).

$ dig axfr . |
  sed -E '/^([a-z0-9-]+)[.][ 	].*/!d;s//sladjfhkjlasdhf.\1./' |
  sort -u | adnshost --asynch --pipe --type cname | grep CNAME
sladjfhkjlasdhf.xn--kprw13d CNAME sladjfhkjlasdhf.xn--kpry57d
sladjfhkjlasdhf.xn--mgba3a4f16a CNAME sladjfhkjlasdhf.xn--mgba3a4f16a.ir

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
Trafalgar: Southwesterly 4 or 5, increasing 6 or 7 in northwest. Moderate or
rough. Showers. Good, occasionally moderate.