Reference

knotd(8)

Knot DNS server daemon

NAME

knotd - Knot DNS server daemon

SYNOPSIS

knotd [config_option] [options]

DESCRIPTION

Knot DNS is a high-performance authoritative DNS server. The knotd program is the DNS server daemon.

Config options

-c, --config file

Use a textual configuration file (default is /etc/knot/knot.conf).

-C, --confdb directory

Use a binary configuration database directory (default is /var/lib/knot/confdb). The default configuration database, if exists, has a preference to the default configuration file.

Options

-m, --max-conf-size MiB

Set maximum size of the configuration database (default is 500 MiB, maximum 10000 MiB).

-s, --socket path

Use a remote control UNIX socket path (default is /run/knot/knot.sock).

-d, --daemonize [directory]

Run the server as a daemon. New root directory may be specified (default is /).

-v, --verbose

Enable debug output.

-h, --help

Print the program help.

-V, --version

Print the program version. The option -VV makes the program print the compile time configuration summary.

Signals

The knotd process handles the following signals:

•

SIGTERM or SIGINT – Gracefully stop the process.

•

SIGHUP – Reload the server configuration and reopen configured log files.

•

SIGUSR1 – Reload all configured zones (not recommended with catalog zones).

EXIT VALUES

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

SEE ALSO

knot.conf(5), knotc(8), keymgr(8), kjournalprint(8).

Author

CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/>

Copyright

Copyright (C) CZ.NIC, z.s.p.o. and contributors

History

--confdb since Debian 9 (Stretch); --max-conf-size since Debian 10 (Buster); --socket since Debian 9 (Stretch); --verbose since Debian 9 (Stretch); -C since Debian 9 (Stretch); -m since Debian 10 (Buster); -s since Debian 9 (Stretch); -v since Debian 9 (Stretch).