1KZONECHECK(1) Knot DNS KZONECHECK(1)
2
3
4
6 kzonecheck - Knot DNS zone check tool
7
9 kzonecheck [options] filename
10
12 The utility checks zone file syntax and runs semantic checks on the
13 zone content. The executed checks are the same as the checks run by the
14 Knot DNS server.
15
16 Please, refer to the semantic-checks configuration option in
17 knot.conf(5) for the full list of available semantic checks.
18
19 Parameters
20 filename
21 Path to the zone file to be checked. For reading from stdin use
22 /dev/stdin or just -.
23
24 Options
25 -o, --origin origin
26 Zone origin. If not specified, the origin is determined from the
27 file name (possibly removing the .zone suffix).
28
29 -d, --dnssec on|off
30 Also check DNSSEC-related records. The default is to decide
31 based on the existence of a RRSIG for SOA.
32
33 -t, --time time
34 Current time specification. Use UNIX timestamp, YYYYMMDDHHmmSS
35 format, or [+/-]time[unit] format, where unit can be Y, M, D, h,
36 m, or s. Default is current UNIX timestamp.
37
38 -v, --verbose
39 Enable debug output.
40
41 -h, --help
42 Print the program help.
43
44 -V, --version
45 Print the program version.
46
48 Exit status of 0 means successful operation. Any other exit status in‐
49 dicates an error.
50
52 knotd(8), knot.conf(5).
53
55 CZ.NIC Labs <https://www.knot-dns.cz>
56
58 Copyright 2010–2022, CZ.NIC, z.s.p.o.
59
60
61
62
633.1.8 2022-04-28 KZONECHECK(1)