man_knotd.rst 1.12 KB
Newer Older
1 2
.. highlight:: console

3 4
knotd – Knot DNS server daemon
==============================
5 6 7 8 9 10 11 12 13 14 15 16 17

Synopsis
--------

:program:`knotd` [*parameters*]

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

Parameters
..........

**-c**, **--config** *file*
18
  Use a textual configuration file (default is :file:`@config_dir@/knot.conf`).
19 20

**-C**, **--confdb** *directory*
21 22 23
  Use a binary configuration database directory (default is :file:`@storage_dir@/confdb`).
  The default configuration database, if exists, has a preference to the default
  configuration file.
24

25 26 27
**-m**, **--max-conf-size** *MiB*
  Set maximum configuration size (default is @conf_mapsize@ MiB, maximum 10000 MiB).

28 29 30
**-s**, **--socket** *path*
  Use a remote control UNIX socket path (default is :file:`@run_dir@/knot.sock`).

31
**-d**, **--daemonize** [*directory*]
32 33
  Run the server as a daemon. New root directory may be specified
  (default is :file:`/`).
34

35 36 37
**-v**, **--verbose**
  Enable debug output.

38
**-h**, **--help**
39 40 41 42
  Print the program help.

**-V**, **--version**
  Print the program version.
43 44 45 46

See Also
--------

Daniel Salzman's avatar
Daniel Salzman committed
47
:manpage:`knot.conf(5)`, :manpage:`knotc(8)`, :manpage:`keymgr(8)`,
48
:manpage:`kjournalprint(8)`.