Re: [dnsext] loads of TXT records for fun and profit

"John Levine" <johnl@taugh.com> Sat, 04 May 2013 04:30 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D892721F8FD5 for <dnsext@ietfa.amsl.com>; Fri, 3 May 2013 21:30:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.766
X-Spam-Level:
X-Spam-Status: No, score=-110.766 tagged_above=-999 required=5 tests=[AWL=0.433, BAYES_00=-2.599, HABEAS_ACCREDITED_SOI=-4.3, RCVD_IN_BSP_TRUSTED=-4.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vt2v5lyYKpmX for <dnsext@ietfa.amsl.com>; Fri, 3 May 2013 21:30:24 -0700 (PDT)
Received: from leila.iecc.com (leila6.iecc.com [IPv6:2001:470:1f07:1126:0:4c:6569:6c61]) by ietfa.amsl.com (Postfix) with ESMTP id 7324021F8FD3 for <dnsext@ietf.org>; Fri, 3 May 2013 21:30:24 -0700 (PDT)
Received: (qmail 71398 invoked from network); 4 May 2013 04:30:22 -0000
Received: from leila.iecc.com (64.57.183.34) by mail1.iecc.com with QMQP; 4 May 2013 04:30:22 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=51848ede.xn--i8sz2z.k1305; i=johnl@user.iecc.com; bh=i8aoCDc+4PWp9NrLBX8bAtFFOJrTomsN18tZTpqWmGY=; b=pvtaePcheR5QJDqRyCHVg/WlTH9X+lpJC0B546yAK7U/16QbiJJEEMmUtJKuICTs+Xk533Qy3KYd5YUMnmpC2Y23EDKYhQAhDfQt3prg9VzyDNI5rhJcCcc754xbeNZa0tgTDQffxu2ivJqugrWN/X7GYueOlUMQI1hncrous3A=
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=51848ede.xn--i8sz2z.k1305; olt=johnl@user.iecc.com; bh=i8aoCDc+4PWp9NrLBX8bAtFFOJrTomsN18tZTpqWmGY=; b=T+4nWSzfF6JVfOA165DBUTH0D1V/nOPmr6eoMZuf4T+d4qNf+ttKoYGbNDlMB8sX8OZZM7aiGBBfxJQYckVni5FjQXRKfIOHAOhMnKXZR+NiWFK8xt20PM0ag0VQQurid6qyMe5QdrHBtPQG8FokhCo/owPWA9w77WnAzkBa0oQ=
Date: Sat, 04 May 2013 04:30:00 -0000
Message-ID: <20130504043000.99930.qmail@joyce.lan>
From: John Levine <johnl@taugh.com>
To: dnsext@ietf.org
In-Reply-To: <5184870C.5020904@tiggee.com>
Organization:
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Subject: Re: [dnsext] loads of TXT records for fun and profit
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 May 2013 04:30:29 -0000

>> A single TXT record can, of course, contain any number of strings and
>> can be arbitrarily long.  See RFC 1035 sec 3.3.14.
>
>TXT records don't have a specified maximum length, but they cannot be
>arbitrarily long.  They have to fit into an RR.  RDLENGTH, which
>specifies the length of the RDATA field, is an unsigned 16 bit integer
>(max 65535).  See RFC 1035 sec 3.2.1.
>
>64k is very long, but not arbitrarily long.

Well, yes, you're right, the RR's total length is a 16 bit value.  I'd
be pretty horrified if that were ever an issue for SPF.

R's,
John