KZONECHECK(1) Knot DNS KZONECHECK(1)

kzonecheck - Knot DNS zone check tool

kzonecheck [options] filename

The utility checks zone file syntax and runs semantic checks on the zone content. The executed checks are the same as the checks run by the Knot DNS server.

Please, refer to the semantic-checks configuration option in knot.conf(5) for the full list of available semantic checks.

Path to the zone file to be checked. For reading from stdin use /dev/stdin or just -.

Zone origin. If not specified, the origin is determined from the file name (possibly removing the .zone suffix).
Also check DNSSEC-related records. The default is to decide based on the existence of a RRSIG for SOA.
Also check the zone hash against a ZONEMD record, which is required to exist.
Current time specification. Use UNIX timestamp, YYYYMMDDHHmmSS format, or [+/-]time[unit] format, where unit can be Y, M, D, h, m, or s. Default is current UNIX timestamp.
Print the zone on stdout.
Enable debug output.
Print the program help.
Print the program version.

Exit status of 0 means successful operation. Any other exit status indicates an error.

knotd(8), knot.conf(5).

CZ.NIC Labs https://www.knot-dns.cz

Copyright 2010–2024, CZ.NIC, z.s.p.o.

2024-03-06 3.3.5