YANG Types for DNS Classes and Resource Record Types
draft-ietf-dnsop-iana-class-type-yang-02
DNSOP Working Group L. Lhotka
Internet-Draft P. Spacek
Intended status: Standards Track CZ.NIC
Expires: 18 May 2021 14 November 2020
YANG Types for DNS Classes and Resource Record Types
draft-ietf-dnsop-iana-class-type-yang-02
Abstract
This document introduces 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 18 May 2021.
Copyright Notice
Copyright (c) 2020 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 18 May 2021 [Page 1]
Internet-Draft iana-dns-class-rr-type-yang November 2020
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. YANG Design Considerations . . . . . . . . . . . . . . . . . 3
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5
4.1. URI Registrations . . . . . . . . . . . . . . . . . . . . 6
4.2. YANG Module Registrations . . . . . . . . . . . . . . . . 6
5. Security Considerations . . . . . . . . . . . . . . . . . . . 7
6. Normative References . . . . . . . . . . . . . . . . . . . . 7
7. Informative References . . . . . . . . . . . . . . . . . . . 7
Appendix A. XSLT Stylesheet . . . . . . . . . . . . . . . . . . 8
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 12
1. Introduction
YANG [RFC7950] has become a de facto standard as a language for
modeling configuration and state data, as well as specifying
management operations and asynchronous notifications. It is
reasonable to expect that the approach based on utilizing such data
models along with standard management protocols such as NETCONF and
RESTCONF can be effectively used in DNS operations, too. In fact,
several efforts are currently underway that attempt to use NETCONF or
RESTCONF for configuring and managing
* authoritative servers
* resolvers
* zone data.
While it is possible to use the management protocols mentioned above
with ad hoc or proprietary data models, their real potential can be
realized only if there is a (completely or partly) unified data model
supported by multiple DNS software implementations. Operators can
then, for instance, run several different DNS server implementations
in parallel, and use a common configuration and management interface
and data for all of them. Also, it becomes considerably easier to
migrate to another implementation.
Based on the previous experience from the IETF Routing Area, it is to
be expected that the development of unified data models for DNS will
be a lengthy and complicated process that will require active
cooperation and compromises from the vendors and developers of major
DNS server platforms. Nevertheless, it is likely that any DNS-
related data modeling effort will need to use various DNS parameters
and enumerations that are specified in several IANA registries. For
use with YANG, these parameters and enumerations have to be
Lhotka & Spacek Expires 18 May 2021 [Page 2]
Internet-Draft iana-dns-class-rr-type-yang November 2020
translated into corresponding YANG types or other structures. Such
Show full document text