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

Florian Weimer <fw@deneb.enyo.de> Sat, 11 May 2013 20:36 UTC

Return-Path: <fw@deneb.enyo.de>
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 4D54221F859D for <dnsext@ietfa.amsl.com>; Sat, 11 May 2013 13:36:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 WL7pQ9ibQQnI for <dnsext@ietfa.amsl.com>; Sat, 11 May 2013 13:36:31 -0700 (PDT)
Received: from ka.mail.enyo.de (ka.mail.enyo.de [87.106.162.201]) by ietfa.amsl.com (Postfix) with ESMTP id 2367B21F8518 for <dnsext@ietf.org>; Sat, 11 May 2013 13:36:30 -0700 (PDT)
Received: from [172.17.135.4] (helo=deneb.enyo.de) by ka.mail.enyo.de with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1UbGWq-00020z-Q0; Sat, 11 May 2013 22:36:28 +0200
Received: from fw by deneb.enyo.de with local (Exim 4.80) (envelope-from <fw@deneb.enyo.de>) id 1UbGX4-0006yD-2x; Sat, 11 May 2013 22:36:42 +0200
From: Florian Weimer <fw@deneb.enyo.de>
To: David Miller <dmiller@tiggee.com>
References: <20130504014825.42875.qmail@joyce.lan> <5184870C.5020904@tiggee.com>
Date: Sat, 11 May 2013 22:36:41 +0200
In-Reply-To: <5184870C.5020904@tiggee.com> (David Miller's message of "Fri, 03 May 2013 23:57:00 -0400")
Message-ID: <87li7ljlt2.fsf@mid.deneb.enyo.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Cc: dnsext@ietf.org
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, 11 May 2013 20:36:36 -0000

* David Miller:

> 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.

It's also the overall packet length limit, so an entire RRset cannot
be larger.