YANG Types for DNS Classes and Resource Record Types
draft-lhotka-dnsop-iana-class-type-yang-00

Document Type Active Internet-Draft (individual)
Last updated 2018-09-24
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
DNSOP Working Group                                            L. Lhotka
Internet-Draft                                                 P. Spacek
Intended status: Standards Track                                  CZ.NIC
Expires: March 28, 2019                               September 24, 2018

          YANG Types for DNS Classes and Resource Record Types
               draft-lhotka-dnsop-iana-class-type-yang-00

Abstract

   This document contains the initial revision of the YANG module iana-
   dns-class-rr-type that contains derived types reflecting two IANA
   registries: DNS CLASSes and Resource Record (RR) TYPEs.  These YANG
   types are intended as a minimum basis for future data modeling work.

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 March 28, 2019.

Copyright Notice

   Copyright (c) 2018 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.

Lhotka & Spacek          Expires March 28, 2019                 [Page 1]
Internet-Draft         iana-dns-class-rr-type-yang        September 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  YANG Design Considerations  . . . . . . . . . . . . . . . . .   2
   3.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
     4.1.  URI Registrations . . . . . . . . . . . . . . . . . . . .  22
     4.2.  YANG Module Registrations . . . . . . . . . . . . . . . .  22
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  22
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  23
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  23
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  23
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  23

1.  Introduction

   This document contains the initial revision of the YANG module iana-
   dns-class-rr-type.  This module defines derived types for the common
   parameters of DNS resource records (RR): class and type.  These YANG
   types, "dns-class" and "rr-type", reflect the IANA registries "DNS
   CLASSes" and "Resource Record (RR) TYPEs" [IANA-DNS-PARAMETERS].

   Whenever a new class or RR type is added to the above registries, the
   iana-dns-class-rr-type YANG module is also updated by IANA.

2.  YANG Design Considerations

   The IANA document "Domain Name System (DNS) Parameters"
   [IANA-DNS-PARAMETERS] contains altogether thirteen registries.  The
   YANG module iana-dns-class-rr-type defines derived types
   corresponding to only two of the registries that are essential for
   data models involving zone data, namely "DNS CLASSes" and "Resource
   Record (RR) TYPEs".  It is expected that the remaining registries in
   [IANA-DNS-PARAMETERS], as well as other DNS-related IANA registries,
   will be analogically reflected in future YANG modules as necessary.
   This way, an appropriate combination of YANG modules can be chosen
   depending on which YANG types are needed for a given data modeling
   purpose.

   [RFC3597] introduced the option of specifying a class or type via its
   assigned decimal number, as an alternative to the mnemonic name.  For
   example, the "IN" class can be equivalently written as "CLASS1", and
   "AAAA" type as "TYPE28".

   Accordingly, the derived types "dns-class" and "rr-type" are defined
   in the YANG module as a union of two member types:

   o  16-bit decimal integer ("uint16")

Lhotka & Spacek          Expires March 28, 2019                 [Page 2]
Internet-Draft         iana-dns-class-rr-type-yang        September 2018

   o  mnemonic name, represented by the enumeration type "dns-class-
      name" and "rr-type-name", respectively.
Show full document text