Skip to main content

RDAP Extension for DNS Time-To-Live (TTL Values)
draft-brown-rdap-ttl-extension-01

Document Type Active Internet-Draft (individual)
Author Gavin Brown
Last updated 2024-06-24
RFC stream (None)
Intended RFC status (None)
Formats
Stream Stream state (No stream defined)
Consensus boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-brown-rdap-ttl-extension-01
Registration Extensions (REGEXT)                                G. Brown
Internet-Draft                                                     ICANN
Intended status: Standards Track                            24 June 2024
Expires: 26 December 2024

            RDAP Extension for DNS Time-To-Live (TTL Values)
                   draft-brown-rdap-ttl-extension-01

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.

Copyright Notice

   Copyright (c) 2024 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights

Brown                   Expires 26 December 2024                [Page 1]
Internet-Draft             RDAP TTL Extension                  June 2024

   and restrictions with respect to this document.  Code Components
   extracted from this document must include Revised BSD License text as
   described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Revised BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions used in this document . . . . . . . . . . . . . .   2
   3.  RDAP Response Specification . . . . . . . . . . . . . . . . .   2
     3.1.  RDAP Conformance  . . . . . . . . . . . . . . . . . . . .   5
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   5.  Change Log  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     5.1.  Changes from 00 to 01 . . . . . . . . . . . . . . . . . .   5
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   5
     6.2.  Informative References  . . . . . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   6

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.

Brown                   Expires 26 December 2024                [Page 2]
Internet-Draft             RDAP TTL Extension                  June 2024

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

   *  A types property, which is an array of DNS record type mnemonics;

   *  A value property, which is an unsigned integer indicated the TTL
      value for those DNS record types;

   *  An OPTIONAL remarks property, which is an array of remarks (see
      Section 4.3 of [RFC9083]); and

   *  An OPTIONAL events property, which is an array of events (see
      Section 4.5 of [RFC9083]).

   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",

Brown                   Expires 26 December 2024                [Page 3]
Internet-Draft             RDAP TTL Extension                  June 2024

             "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."
             ]
           }
         ]
       }
     ]
   }

Brown                   Expires 26 December 2024                [Page 4]
Internet-Draft             RDAP TTL Extension                  June 2024

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 (mailto: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, March 1997,
              <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,
              May 2017, <https://www.rfc-editor.org/info/rfc8174>.

Brown                   Expires 26 December 2024                [Page 5]
Internet-Draft             RDAP TTL Extension                  June 2024

   [RFC9083]  Hollenbeck, S. and A. Newton, "JSON Responses for the
              Registration Data Access Protocol (RDAP)", STD 95,
              RFC 9083, DOI 10.17487/RFC9083, June 2021,
              <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, 24 June
              2024, <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
   Email: gavin.brown@icann.org

Brown                   Expires 26 December 2024                [Page 6]