The aim of this project is to create a YANG data model for DNS zone data so as to be able to treat them as normal configuration.
Below is a description of interesting Makefile targets. GNU make is needed.
-
all (default): generate YANG files from YINX sources;
-
json: generate example configuration in JSON format;
-
master: generate master file from example configuration;
-
rnc: generate RELAX NG schema in compact syntax (in fact, all DSDL schemas are generated);
-
validate: validate example configuration against DSDL schemas;
-
model.tree: generate ascii art depicting the data model schema as a tree (run
pyang --tree-help
for an explanation of symbols); -
clean: remove all generated files.
- RFC 1035: A, CNAME, HINFO MB, MG, MINFO, MR MX, NS, NULL, PTR, SOA, TXT, WKS
- RFC 1183: AFSDB, ISDN, RP, RT, X25
- RFC 1706: NSAP
- RFC 1712: GPOS
- RFC 1876: LOC
- RFC 2163: PX
- RFC 2230: KX
- RFC 2538: CERT
- RFC 2672: DNAME
- RFC 2782: SRV
- RFC 2845: TSIG
- RFC 2874: A6
- RFC 2930: TKEY
- RFC 2931: SIG
- RFC 3123: APL
- RFC 3445: KEY
- RFC 3403: NAPTR
- RFC 3596: AAAA
- RFC 4025: IPSECKEY
- RFC 4034: DNSKEY, DS, NSEC, RRSIG
- RFC 4255: SSHFP
- RFC 4408: SPF
- RFC 4431: DLV
- RFC 4701: DHCID
- RFC 5155: NSEC3, NSEC3PARAM
- RFC 6698: TLSA