kresd(8)
π NAME π
okay so this is kresd(8), and it's the manual page for kresd β the full caching, DNSSEC-enabled Knot Resolver 6.5.0 β¨ bestie, that's the whole name vibe: caching? yes. DNSSEC? yes. iconic? obviously. π
πΈ SYNOPSIS πΈ
here's the synopsis, copy-paste energy only:
kresd [-a|--addr addr[@port]] [-t|--tls addr[@port]] [-S|--fd fd]
[-T|--tlsfd fd] [-c|--config config] [-n|--noninteractive] [-q|--quiet]
[-v|--verbose] [-V|--version] [-h|--help] [rundir]
π¦ DESCRIPTION π¦
bestie, beware: you most likely don't want to use thekresdprocess directly. Instead, theknot-resolvercommand will manage the processes for you. okay? okay. π«Ά
Knot Resolver is a DNSSEC-enabled full caching resolver. no cap.
Default mode of operation: when it receives a DNS query, it iteratively asks authoritative nameservers starting from the root zone (.) and ending with the nameservers authoritative for the queried name. Automatic DNSSEC means verification of the integrity of authoritative responses by following keys and signatures starting from the root. The root trust anchor is automatically bootstrapped from IANA, or you can provide a file with root trust anchors (same format as Unbound or BIND9 root keys file). the way this walks the chain? obsessed. π₯
The daemon also caches intermediate answers into cache, which by default uses LMDB memory-mapped database. This has a significant advantage over in-memory caches: the process may be stopped and restarted without loss of cache entries. In a multi-user scenario, a shared cache is a potential privacy/security issue; with kresd, each user can have a resolver cache in their private directory and use it in a similar fashion to a keychain. cute and practical? we love. π
To use a locally running kresd for resolving, put
nameserver 127.0.0.1
into resolv.conf(5) and start kresd. periodt.
The daemon may be configured also as a plain forwarder using query policies. This requires using a config file. Please refer to the documentation for configuration file options. It is available at https://www.knot-resolver.cz/documentation/latest/ or in package documentation (available as knot-resolver-doc package in most distributions). go off, docs. π
The available CLI options are:
-a addr[@port],--addr=<addr[@port]>β listen on the given address (and port) pair. If no port is given,53is used as the default. This option may be passed multiple times to listen on more addresses. β¨-t addr[@port],--tls=<addr[@port]>β listen using TLS on the given address (and port) pair. If no port is given,853is used as the default. This option may be passed multiple times to listen on more addresses. π-S fd,--fd=<fd>β listen on the given file descriptor(s), passed by supervisor. This option may be passed multiple times to listen on more file descriptors. π-T fd,--tlsfd=<fd>β listen using TLS on the given file descriptor(s), passed by supervisor. This option may be passed multiple times to listen on more file descriptors. π¦-c config,--config=<config>β set the config file with settings forkresdto read instead of reading the file at the default location (config). π-n,--noninteractiveβ the daemon will refrain from entering into the read-eval-print loop for stdin+stdout. no REPL era. π-q,--quietβ the daemon will refrain from printing the command prompt. shhh bestie. π€«-v,--verboseβ increase logging to debug level. give me the lore. π-hβ show short command-line option help. (the synopsis also has--help, iykyk π)-Vβ show the version. (and yes, the synopsis has--versiontoo, slay π)
π SEE ALSO π
https://www.knot-resolver.cz/documentation/latest/β the docs link, right there in all its glory. π»
π AUTHORS π
the kresd developers are mentioned in the AUTHORS file in the distribution. give them their flowers. π
xoxo, CZ.NIC Β· Knot Resolver 6.5.0 Β· 2026-10-01 Β· kresd(8) π«Ά
π¦ where this page comes from
- arch rolling: knot-resolver 6.5.0-1 Β· GPL-3.0-or-later
- π the page's license: GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms