man_kzonecheck.rst 886 Bytes
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*] *zone-file*
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 22 23 24

Options
..........

**-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 33 34 35 36 37 38 39

**-v**, **--verbose**
  Enable debug output.

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

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

See Also
--------

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