DNS Stateful Operations
RFC 8490

Document Type RFC - Proposed Standard (March 2019; No errata)
Last updated 2019-10-03
Replaces draft-bellis-dnsop-session-signal
Stream IETF
Formats plain text html pdf htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Tim Wicinski
Shepherd write-up Show (last changed 2018-05-15)
IESG IESG state RFC 8490 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Warren Kumari
Send notices to "Tim Wicinski" <tjw.ietf@gmail.com>
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                         R. Bellis
Request for Comments: 8490                                           ISC
Updates: 1035, 7766                                          S. Cheshire
Category: Standards Track                                     Apple Inc.
ISSN: 2070-1721                                             J. Dickinson
                                                            S. Dickinson
                                                                 Sinodun
                                                                T. Lemon
                                                     Nibbhaya Consulting
                                                             T. Pusateri
                                                            Unaffiliated
                                                              March 2019

                        DNS Stateful Operations

Abstract

   This document defines a new DNS OPCODE for DNS Stateful Operations
   (DSO).  DSO messages communicate operations within persistent
   stateful sessions using Type Length Value (TLV) syntax.  Three TLVs
   are defined that manage session timeouts, termination, and encryption
   padding, and a framework is defined for extensions to enable new
   stateful operations.  This document updates RFC 1035 by adding a new
   DNS header OPCODE that has both different message semantics and a new
   result code.  This document updates RFC 7766 by redefining a session,
   providing new guidance on connection reuse, and providing a new
   mechanism for handling session idle timeouts.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   https://www.rfc-editor.org/info/rfc8490.

Bellis, et al.               Standards Track                    [Page 1]
RFC 8490                 DNS Stateful Operations              March 2019

Copyright Notice

   Copyright (c) 2019 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 and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Requirements Language . . . . . . . . . . . . . . . . . . . .   6
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  Applicability . . . . . . . . . . . . . . . . . . . . . . . .   9
     4.1.  Use Cases . . . . . . . . . . . . . . . . . . . . . . . .   9
       4.1.1.  Session Management  . . . . . . . . . . . . . . . . .   9
       4.1.2.  Long-Lived Subscriptions  . . . . . . . . . . . . . .   9
     4.2.  Applicable Transports . . . . . . . . . . . . . . . . . .  10
   5.  Protocol Details  . . . . . . . . . . . . . . . . . . . . . .  11
     5.1.  DSO Session Establishment . . . . . . . . . . . . . . . .  12
       5.1.1.  DSO Session Establishment Failure . . . . . . . . . .  13
       5.1.2.  DSO Session Establishment Success . . . . . . . . . .  14
     5.2.  Operations after DSO Session Establishment  . . . . . . .  14
     5.3.  DSO Session Termination . . . . . . . . . . . . . . . . .  15
       5.3.1.  Handling Protocol Errors  . . . . . . . . . . . . . .  15
     5.4.  Message Format  . . . . . . . . . . . . . . . . . . . . .  16
       5.4.1.  DNS Header Fields in DSO Messages . . . . . . . . . .  17
       5.4.2.  DSO Data  . . . . . . . . . . . . . . . . . . . . . .  18
       5.4.3.  DSO Unidirectional Messages . . . . . . . . . . . . .  20
       5.4.4.  TLV Syntax  . . . . . . . . . . . . . . . . . . . . .  21
       5.4.5.  Unrecognized TLVs . . . . . . . . . . . . . . . . . .  22
       5.4.6.  EDNS(0) and TSIG  . . . . . . . . . . . . . . . . . .  23
     5.5.  Message Handling  . . . . . . . . . . . . . . . . . . . .  24
       5.5.1.  Delayed Acknowledgement Management  . . . . . . . . .  25
       5.5.2.  MESSAGE ID Namespaces . . . . . . . . . . . . . . . .  26
       5.5.3.  Error Responses . . . . . . . . . . . . . . . . . . .  27
     5.6.  Responder-Initiated Operation Cancellation  . . . . . . .  28
Show full document text