Internet-Draft gns_split_rrset March 2026
Schanzenbach & Bellebaum Expires 3 September 2026 [Page]
Workgroup:
Independent Stream
Internet-Draft:
draft-schanzen-gns-split-rrset-00
Published:
Intended Status:
Informational
Expires:
Authors:
M. Schanzenbach
GNUnet e.V.
T. Bellebaum
Fraunhofer AISEC

The GNS Split Resource Record Set

Abstract

This document contains the technical specification of the GNS Split Resource Record Set.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 3 September 2026.

Table of Contents

1. Introduction

In GNS [RFC9498], resource record set sizes are limited by the underlying storage component. For example, in the current instantion in GNUnet on top of R5N, Resource record sets must fit into around 64 kilobytes. This includes all records in the set as well as signatures and encryption overhead (e.g. the authentication tag). This prohibits use cases that require some large records or a lot of small records, but also makes post-quantum signature schemes more difficult to integrate.

This document defines a new record type that allows record sets to be split across multiple record sets in GNS. The new record type is backwards compatible with the existing GNS, but resolver that do not conform to this specification will be unable to fully retrieve the split record set. In this case, the applicatin must take care and collect all entries of the record set in the zone.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

2. SPLIT

This record consists of a list of resource record types that should exist and belong to this record set.

A SPLIT resource record is expected to be found along with other resource records. A SPLIT DATA entry is illustrated in Figure 1.

0     8     16    24    32
+-----+-----+-----+-----+
|    RECORD TYPE 0      |
+-----------------------+
|    RECORD TYPE 1      |
+-----------------------+
/           ...         /
/                       /
+-----------------------+
|    RECORD TYPE N-1    |
+-----+-----+-----+-----+
Figure 1: The SPLIT DATA Wire Format.
RECORD TYPE X
The 32-bit record type number (as defined in GANA) in network byte order.

The record types indicate to the resolve that it SHOULD try to resolve further resource record sets of the specified type(s) if the record type is being asked for as part of the resolution. Otherwise, the record type can be ignored.

3. Resolver behaviour

When a resolver encounters a SPLIT record in a record set for a label L in zone Z, it SHOULD process it as follows. For reach record type T encountered in the SPLIT record, and in the set of record types that is currently of interest, calculate the next label as L' := Base32-GNS(SHA-256(Z,T,L)).

The resolver then queries L' in Z to retrieve the next part of the record set for this record type. The resulting record set MAY contain other record types than the record type indicated by the SPLIT record, but those records should only consist of supplemental or auxiliary records. Otherwise, efficient resolution of record types is not possible.

4. Security Considerations

4.1. Loops

Resolvers must take care to avoid loops. While statistically unlikely due to the use of a collision-resistant hash function in the derivation label, a resolver could accidentally be caught in a resolution loop.

5. GANA Considerations

GANA is requested to populate this registry as follows:

Number: 65555
Name: SPLIT
Contact: gns-registry@gnunet.org
References: [This.I-D]
Description: SPLIT Record Set
Figure 2

6. Test Vectors

7. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC9498]
Schanzenbach, M., Grothoff, C., and B. Fix, "The GNU Name System", RFC 9498, DOI 10.17487/RFC9498, , <https://www.rfc-editor.org/info/rfc9498>.

Authors' Addresses

Martin Schanzenbach
GNUnet e.V.
Boltzmannstrasse 3
85748 Garching
Germany
Thomas Bellebaum
Fraunhofer AISEC
Lichtenbergstrasse 11
85748 Garching
Germany