Skip to content

CZ-NIC/dns-server-yang

Repository files navigation

DNS-server-YANG

YANG data model for an authoritative DNS server. The model tries to be general where possible but the main focus in on Knot DNS configuration.

YANG Modules

Make Targets

Below is a description of “public” make targets. Only xsltproc is needed for all, knot and nsd, other targets require pyang to be installed. The validate target also requires Jing to be installed. Alternatively, xmllint can be used instead, if the -j flag is removed from the validate action.

  • all: generate the YANG modules in the normal compact format;

  • json: translate XML instance configuration (example-data.xml) to JSON format, see RFC7951;

  • knot: translate XML instance to Knot DNS v2 configuration;

  • nsd: translate XML instance to (partial) NSD configuration;

  • rnc: generate RELAX NG schema in the compact syntax;

  • model.tree: generate ASCII tree diagram of the data model.

About

YANG data model for DNS server (mirror from Gitlab)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published