nsd-checkzone(8) | nsd 4.11.1 | nsd-checkzone(8) |
nsd-checkzone - NSD zone file syntax checker.
nsd-checkzone [-h] zonename zonefile
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.
The difference is computed between the two zonefiles by keeping one version of the zone in memory, and another version in a temporary file. The temporary file is located at the zonefile directory. This is also where the result is written, to a file with the zonefile name, ending with '.ixfr'. This is also where NSD reads it when IXFRs are configured for the zone.
The other existing ixfr files are renamed to become older IXFR contents for the zone, if any such files exist. If the output file already exists with the correct contents, no new file is created. The contents of the header of the output file are checked for that, if it already exists.
nsd(8), nsd-checkconf(8)
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details.
January 18, 2025 | NLnet Labs |