UNBOUND(8)
π UNBOUND(8) β like, the local-unbound girlies' guide
okay so quick vibe check: this is the manual page for UNBOUND(8), bestie. buckle up π
β¨ NAME β¨
local-unbound β the Local-unbound DNS validating resolver, version 1.25.1. that's her. that's the whole name. periodt π
π¦ SYNOPSIS π¦
unbound [-hdpVv] [-c <cfgfile>]
literally that's it. five little flags and one config path and she's ready to slay π₯
π DESCRIPTION π
unbound is a caching DNS resolver. say it with me: caching DNS resolver. she resolves, she caches, she serves looks π
So here's the tea β β she's got a built-in list of authoritative nameservers for the root zone (.), aka the root hints. when a DNS query slides into her DMs, she asks the root nameservers for an answer, and in almost all cases she gets back a delegation to a top level domain (TLD) authoritative nameserver. then she asks that nameserver for an answer. she keeps recursively continuing until an answer is found, or until there's genuinely no answer available (NXDOMAIN β the villain of this story π).
and for performance and efficiency reasons (iconic behavior), that answer gets cached for a certain time β the answer's time-to-live, or TTL. so a second query for the same name? answered straight from the cache. effortless. π
and yes she can do DNSSEC validation too. she's multi-talented, we been knew π§
πΈ wanna use her locally? πΈ
To use a locally running Local-unbound for resolving, put this:
nameserver 127.0.0.1
into resolv.conf(5). that's the whole ritual, no cap π«Ά
β οΈ also real talk: if you need authoritative DNS too, usingnsd(8)alongside her needs careful setup, because authoritative nameservers and resolvers both use the same port number (53). they're fighting for the same port, bestie, it's giving crowded elevator π
β¨ OPTIONS β¨
these are the available options, and yes we're going through every single one, don't scroll:
-hβ shows the version number and the commandline option help, then exits. a little "hi, here's who I am" moment π-c <cfgfile>β sets the config file with settings for local-unbound to read, instead of reading the file at the default location,/var/unbound/unbound.conf. the syntax is described inunbound.conf(5). pick your own adventure, queen π-dβ the debug flag: she does not fork into the background, she stays attached to the console. this flag also delays writing to the log file until the thread-spawn time, so most config and setup errors show up onstderrinstead. and if you give it twice or more, logging doesn't switch to the log file or to syslog at all β the log messages are printed tostderrthe whole time. highkey the bestie for debugging π-pβ don't use a pidfile. this argument should only be used by supervision systems which can ensure that only one instance of Local-unbound will run concurrently. fr fr, only for the supervisors π-vβ increase verbosity. give it multiple times and more information is logged. this is in addition to the verbosity (if any) from the config file. more words, more lore π£οΈ-Vβ shows the version number and build options, then exits. the full receipts β¨
π SEE ALSO π
unbound.conf(5), local-unbound-checkconf(8), nsd(8). go read those next, iykyk π
π AUTHOR π
the Local-unbound developers are mentioned in the CREDITS file in the distribution. give them their flowers, they earned them π
β COPYRIGHT β
1999-2026, NLnet Labs. that's the whole line, protecting the whole legacy π
aaaand that's the page!! mwah π this was version 1.25.1, dated May 20, 2026 β crafted with love by the local-unbound girlies, see you in the next man page bestie π¦π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms