iana-dns-class-rr-type.yang | iana-dns-class-rr-type-formatted.yang | |||
---|---|---|---|---|
module iana-dns-class-rr-type { | module iana-dns-class-rr-type { | |||
yang-version 1.1; | yang-version 1.1; | |||
namespace | namespace "urn:ietf:params:xml:ns:yang:iana-dns-class-rr-type"; | |||
"urn:ietf:params:xml:ns:yang:iana-dns-class-rr-type"; | prefix dnsct; | |||
prefix dnsct; | ||||
organization | ||||
"Internet Assigned Numbers Authority (IANA)"; | ||||
contact | ||||
" Internet Assigned Numbers Authority | ||||
Postal: ICANN | ||||
12025 Waterfront Drive, Suite 300 | ||||
Los Angeles, CA 90094 | ||||
Tel: +1 424 254 5300 | organization | |||
"Internet Assigned Numbers Authority (IANA)"; | ||||
contact | ||||
" Internet Assigned Numbers Authority | ||||
<mailto:iana@iana.org;gt;"; | Postal: ICANN | |||
12025 Waterfront Drive, Suite 300 | ||||
Los Angeles, CA 90094 | ||||
description | Tel: +1 424 254 5300 | |||
"This YANG module translates IANA registries 'DNS CLASSes' and | ||||
'Resource Record (RR) TYPEs' to YANG-derived types. | ||||
Copyright (c) 2021 IETF Trust and the persons identified as | <mailto:iana@iana.org;gt;"; | |||
authors of the code. All rights reserved. | description | |||
"This YANG module translates IANA registries 'DNS CLASSes' and | ||||
'Resource Record (RR) TYPEs' to YANG-derived types. | ||||
Redistribution and use in source and binary forms, with or | Copyright (c) 2021 IETF Trust and the persons identified as | |||
without modification, is permitted pursuant to, and subject to | authors of the code. All rights reserved. | |||
the license terms contained in, the Simplified BSD License set | ||||
forth in Section 4.c of the IETF Trust's Legal Provisions | ||||
Relating to IETF Documents | ||||
(https://trustee.ietf.org/license-info). | ||||
This initial version of this YANG module was generated from | Redistribution and use in source and binary forms, with or | |||
the corresponding IANA registries using an XSLT stylesheet | without modification, is permitted pursuant to, and subject to | |||
from Appendix A of RFC 9108 | the license terms contained in, the Simplified BSD License set | |||
(https://www.rfc-editor.org/info/rfc9108); see the RFC itself | forth in Section 4.c of the IETF Trust's Legal Provisions | |||
for full legal notices."; | Relating to IETF Documents | |||
(https://trustee.ietf.org/license-info). | ||||
reference | This initial version of this YANG module was generated from | |||
"IANA 'Domain Name System (DNS) Parameters' registry | the corresponding IANA registries using an XSLT stylesheet | |||
https://www.iana.org/assignments/dns-parameters"; | from Appendix A of RFC 9108 | |||
(https://www.rfc-editor.org/info/rfc9108); see the RFC itself | ||||
for full legal notices."; | ||||
reference | ||||
"IANA 'Domain Name System (DNS) Parameters' registry | ||||
https://www.iana.org/assignments/dns-parameters"; | ||||
revision 2021-06-23 { | revision 2021-06-23 { | |||
description | description | |||
"Initial revision."; | "Initial revision."; | |||
reference | reference | |||
"RFC 9108: YANG Types for DNS Classes and Resource Record | "RFC 9108: YANG Types for DNS Classes and Resource Record | |||
Types"; | Types"; | |||
} | } | |||
/* Typedefs */ | /* Typedefs */ | |||
typedef dns-class-name { | typedef dns-class-name { | |||
type enumeration { | type enumeration { | |||
enum IN { | enum IN { | |||
value 1; | value 1; | |||
description | description | |||
"Internet (IN)"; | "Internet (IN)"; | |||
reference | reference | |||
"RFC 1035"; | "RFC 1035"; | |||
} | } | |||
enum CH { | enum CH { | |||
value 3; | value 3; | |||
description | description | |||
"Chaos (CH)"; | "Chaos (CH)"; | |||
reference | reference | |||
"D. Moon, 'Chaosnet', A.I. Memo 628, Massachusetts Institute of | "D. Moon, 'Chaosnet', A.I. Memo 628, Massachusetts Institute of | |||
Technology Artificial Intelligence Laboratory, June 1981."; | Technology Artificial Intelligence Laboratory, June 1981."; | |||
} | } | |||
enum HS { | enum HS { | |||
value 4; | value 4; | |||
description | description | |||
"Hesiod (HS)"; | "Hesiod (HS)"; | |||
reference | reference | |||
"Dyer, S., and F. Hsu, 'Hesiod', Project Athena Technical | "Dyer, S., and F. Hsu, 'Hesiod', Project Athena Technical | |||
Plan - Name Service, April 1987."; | Plan - Name Service, April 1987."; | |||
} | } | |||
enum NONE { | enum NONE { | |||
value 254; | value 254; | |||
description | description | |||
"QCLASS NONE"; | "QCLASS NONE"; | |||
reference | reference | |||
"RFC 2136"; | "RFC 2136"; | |||
} | } | |||
enum ANY { | enum ANY { | |||
value 255; | value 255; | |||
description | description | |||
"QCLASS * (ANY)"; | "QCLASS * (ANY)"; | |||
reference | reference | |||
"RFC 1035"; | "RFC 1035"; | |||
} | } | |||
} | } | |||
description | description | |||
"This enumeration type defines mnemonic names and corresponding | "This enumeration type defines mnemonic names and corresponding | |||
numeric values of DNS classes."; | numeric values of DNS classes."; | |||
reference | reference | |||
"RFC 6895: Domain Name System (DNS) IANA Considerations"; | "RFC 6895: Domain Name System (DNS) IANA Considerations"; | |||
} | } | |||
typedef dns-class { | typedef dns-class { | |||
type union { | type union { | |||
type uint16; | type uint16; | |||
type dns-class-name; | type dns-class-name; | |||
} | } | |||
description | description | |||
"This type allows reference to a DNS class using either the | "This type allows reference to a DNS class using either the | |||
assigned mnemonic name or numeric value."; | assigned mnemonic name or numeric value."; | |||
} | } | |||
typedef rr-type-name { | typedef rr-type-name { | |||
type enumeration { | type enumeration { | |||
enum A { | enum A { | |||
value 1; | value 1; | |||
description | description | |||
"a host address"; | "a host address"; | |||
reference | reference | |||
"RFC 1035"; | "RFC 1035"; | |||
} | } | |||
skipping to change at line 782 ¶ | skipping to change at line 778 ¶ | |||
enum DLV { | enum DLV { | |||
value 32769; | value 32769; | |||
status obsolete; | status obsolete; | |||
description | description | |||
"DNSSEC Lookaside Validation (OBSOLETE)"; | "DNSSEC Lookaside Validation (OBSOLETE)"; | |||
reference | reference | |||
"- RFC 8749 | "- RFC 8749 | |||
- RFC 4431"; | - RFC 4431"; | |||
} | } | |||
} | } | |||
description | description | |||
"This enumeration type defines mnemonic names and corresponding | "This enumeration type defines mnemonic names and corresponding | |||
numeric values of DNS resource record types."; | numeric values of DNS resource record types."; | |||
reference | reference | |||
"- RFC 6895: Domain Name System (DNS) IANA Considerations | "- RFC 6895: Domain Name System (DNS) IANA Considerations | |||
- RFC 1035: Domain names - implementation and specification"; | - RFC 1035: Domain names - implementation and specification"; | |||
} | } | |||
typedef rr-type { | typedef rr-type { | |||
type union { | type union { | |||
type uint16; | type uint16; | |||
type rr-type-name; | type rr-type-name; | |||
} | } | |||
description | description | |||
"This type allows reference to a DNS resource record type | "This type allows reference to a DNS resource record type | |||
using either the assigned mnemonic name or numeric value."; | using either the assigned mnemonic name or numeric value."; | |||
} | } | |||
} | } | |||
End of changes. 17 change blocks. | ||||
75 lines changed or deleted | 71 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |