knotd8
Knot dns server daemon
Usage
knotd [config_option]
[options]
Overview
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
-VVmakes 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 status
Exit status of 0 means successful operation. Any other exit status indicates an error.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.
--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).