Internet-Draft RDAP TTL Extension June 2024
Brown Expires 26 December 2024 [Page]
Workgroup:
Registration Extensions (REGEXT)
Internet-Draft:
draft-brown-rdap-ttl-extension-01
Published:
Intended Status:
Standards Track
Expires:
Author:
G. Brown
ICANN

RDAP Extension for DNS Time-To-Live (TTL Values)

Abstract

This document describes an extension to the Registration Data Access Protocol ([RFC9083]) which allows the Time-To-Live (TTL) values for relevant DNS record types to be included in RDAP responses.

About this draft

This note is to be removed before publishing as an RFC.

The source for this draft, and an issue tracker, may can be found at https://github.com/gbxyz/rdap-ttl-extension.

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 26 December 2024.

Table of Contents

1. Introduction

While [RFC9083] allows RDAP server operators to provide information about the content of the NS, DS, A and AAAA record(s) which are published in the DNS for a given registry object (domain or host object), it does not provide a mechanism to allow the Time-To-Live (TTL) values of those records to be included in responses.

This document describes how TTL information can be included in domain and nameserver objects in RDAP responses.

This document is complementary to the EPP TTL extension ([I-D.ietf-regext-epp-ttl]), but registry operators do not need to implement that extension in their EPP server in order to implement this RDAP extension.

2. Conventions used in this document

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

3. RDAP Response Specification

Servers which support this extension MUST include a ttl property in any domain and nameserver objects included in RDAP responses.

The ttl property is an array of objects. These objects have the following properties:

DNS record type mnemonics MUST be in all capitals. Each DNS record type MUST only appear once in a response.

TTL values MUST be unsigned integers in the range 0-2,147,483,647.

Example domain object:

{
  "objectClassName": "domain",
  "ldhName": "example.com",
  "ttl": [
    {
      "types": [
        "NS"
      ],
      "value": 3600,
      "remarks": [
        {
          "description": [
            "The .example registry does not permit NS record TTL ",
            "values to be changed."
          ]
        }
      ]
    },
    {
      "types": [
        "DS"
      ],
      "value": 300,
      "events": [
        {
          "eventAction": "last updated",
          "eventActor": "example-registry",
          "eventDate": "2024-01-08T13:52:18Z"
        }
      ],
      "remarks": [
        {
          "description": [
            "For more information about the .example registry policy "
            "relating to DS record TTL changes, see https://example.com"
          ],
          "links": [
            {
              "rel": "related",
              "title": ".Example Registry DNS TTL Policy",
              "value": "https://example.com",
              "href": "https://example.com"
            }
          ]
        }
      ]
    }
  ]
}

Example nameserver object:

{
  "objectClassName": "nameserver",
  "ldhName": "ns1.example.com",
  "ttl": [
    {
      "types": [
        "A",
        "AAAA"
      ],
      "value": 86400,
      "remarks": [
        {
          "description": [
            "The .example registry does not permit TTL ",
            "values for nameservers to be changed."
          ]
        }
      ]
    }
  ]
}

3.1. RDAP Conformance

Servers returning responses containing TTL values MUST include the string "ttl" in the rdapConformance array.

4. IANA Considerations

IANA is requested to register the following value in the RDAP Extensions Registry:

Extension identifier: ttl

Registry operator: Any

Published specification: this document

Contact: IETF <iesg@ietf.org>

Intended usage: this extension describes how DNS TTL values can be included in RDAP responses.

5. Change Log

5.1. Changes from 00 to 01

  1. Extension property name renamed to ttl.
  2. The extension data structure is now an array allowing common TTL values, remarks and events to be mapped to multiple DNS record types.
  3. The extension data structure may now include remarks and events.
  4. Added normative text regarding the value of DNS record mnemonics and TTL values.

6. References

6.1. 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>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC9083]
Hollenbeck, S. and A. Newton, "JSON Responses for the Registration Data Access Protocol (RDAP)", STD 95, RFC 9083, DOI 10.17487/RFC9083, , <https://www.rfc-editor.org/info/rfc9083>.

6.2. Informative References

[I-D.ietf-regext-epp-ttl]
Brown, G., "Extensible Provisioning Protocol (EPP) mapping for DNS Time-To-Live (TTL) values", Work in Progress, Internet-Draft, draft-ietf-regext-epp-ttl-14, , <https://datatracker.ietf.org/api/v1/doc/document/draft-ietf-regext-epp-ttl/>.

Author's Address

Gavin Brown
ICANN
12025 Waterfront Drive, Suite 300
Los Angeles, CA 90094-2536
United States of America