nsd-checkzone reads a DNS zone file and checks it for errors. It prints errors to stderr. On failure it exits with nonzero exit status.
This is used to check files before feeding them to the nsd(8) daemon.
Print usage help information and exit.
The name of the zone to check, eg. “example.com”.
The file to read, eg.
Print the zone contents to stdout if the zone is ok. This prints the contents as it has been parsed, not literally a copy of the input, but as printed by the formatting routines in NSD, much like the nsd-control command write does.