man_kzonecheck.rst 1.09 KB
Newer Older
Vitezslav Kriz's avatar
Vitezslav Kriz committed
1 2
.. highlight:: console

3 4
kzonecheck – Knot DNS zone file checking tool
=============================================
Vitezslav Kriz's avatar
Vitezslav Kriz committed
5 6 7 8

Synopsis
--------

9
:program:`kzonecheck` [*options*] *filename*
Vitezslav Kriz's avatar
Vitezslav Kriz committed
10 11 12 13

Description
-----------

14 15 16 17 18 19
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
:manpage:`knot.conf(5)` for the full list of available semantic checks.
Vitezslav Kriz's avatar
Vitezslav Kriz committed
20 21

Options
22
.......
Vitezslav Kriz's avatar
Vitezslav Kriz committed
23 24

**-o**, **--origin** *origin*
25 26
  Zone origin. If not specified, the origin is determined from the file name
  (possibly removing the ``.zone`` suffix).
Vitezslav Kriz's avatar
Vitezslav Kriz committed
27

28 29 30 31 32
**-t**, **--time** *time*
  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.

Vitezslav Kriz's avatar
Vitezslav Kriz committed
33 34 35 36 37 38 39 40 41 42 43 44
**-v**, **--verbose**
  Enable debug output.

**-h**, **--help**
  Print the program help.

**-V**, **--version**
  Print the program version.

See Also
--------

45
:manpage:`knotd(8)`, :manpage:`knot.conf(5)`.