KNOTD(8)
π KNOTD(8) β the Knot DNS server daemon, bestie edition π
okay so real talk: knotd is the actual DNS server daemon from Knot DNS, and this page is from the Knot DNS manual, section 8. she's an authoritative DNS server and she's fast. like, high-performance fast. keep that in mind, it comes up. π
β¨ NAME β¨
knotd β the Knot DNS server daemon. that's her. that's the whole name. iconic of her honestly π
πΈ SYNOPSIS πΈ
knotd [config_option] [options]
that's it. one config_option (pick your lane), then whatever options you want. slay π
π DESCRIPTION π
Knot DNS is a high-performance authoritative DNS server β no cap, that's literally what it is. and knotd? knotd is the DNS server daemon itself. the main character. the one doing the actual work while everyone else is just vibing π«Ά
π§ Config options π§
these are your "where do I even read my settings from" options. two of them. you got this.
-c,--configfile β use a textual configuration file. the default is/etc/knot/knot.conf. classic. reliable. love her π-C,--confdbdirectory β use a binary configuration database directory instead. the default is/var/lib/knot/confdb. and here's the vibe check: the default configuration database, if it exists, has a preference to the default configuration file. so like, if both are sitting there, the confdb wins. just so you know π
β Options β
the actual flags. the little levers. let's go one by one, no skipping, periodt.
-m,--max-conf-sizeMiB β sets the maximum size of the configuration database. default is500MiB, and the maximum you can ask for is10000MiB. size queen behaviour but make it config π-s,--socketpath β use a remote control UNIX socket at this path. default is/run/knot//knot.sock. (yes, that's a double slash in there. that's not a typo, that's not me being messy, copy it exactly. iykyk π)-d,--daemonize[directory] β run the server as a daemon. you may specify a new root directory, and the default is/. optional but dramatic, we love that for her πΈ-v,--verboseβ enable debug output. for when you really need to know what's going on in there. she's telling you everything π-h,--helpβ print the program help. the "help me help you" option π«Ά-V,--versionβ print the program version. and here's the cute part: the option-VVmakes the program print the compile time configuration summary. double V, double info. ate. π₯
π¦ Signals π¦
the knotd process handles the following signals, bestie, and each one gives a different energy:
SIGTERMorSIGINTβ gracefully stop the process. polite. classy. she exits on her own terms πSIGHUPβ reload the server configuration and reopen configured log files. the "refresh, but make it official" signal β¨SIGUSR1β reload all configured zones. not recommended with catalog zones though β that's a real warning, don't come for me, I'm just the messenger π
π EXIT VALUES π
Exit status of 0 means successful operation. any other exit status indicates an error. zero is the good number. everything else? something went sideways π
π SEE ALSO π
go read these too, they're all connected, it's a whole ecosystem:
knot.conf(5), knotc(8), keymgr(8), kjournalprint(8) π
π AUTHOR π
CZ.NIC, z.s.p.o. and contributors <https://www.knot-dns.cz/> β legends, all of them, fr fr π
π COPYRIGHT π
Copyright (C) CZ.NIC, z.s.p.o. and contributors π«Ά
ok that's the whole page, you made it, i'm so proud of you π now go configure something responsibly
kiss kiss, this was Knot DNS 3.6.2, dated 2026-10-21 β knotd(8), out. slay, bye π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: knot 3.6.2-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms