2025-05-20 06:20:20 -04:00
|
|
|
.\" Man page generated from reStructuredText.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
|
.
|
|
|
|
|
.de1 rstReportMargin
|
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
-
|
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
|
..
|
|
|
|
|
.de1 INDENT
|
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
|
. RS \\$1
|
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
|
..
|
|
|
|
|
.de UNINDENT
|
|
|
|
|
. RE
|
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
|
..
|
|
|
|
|
.TH "UNBOUND" "8" "@date@" "@version@" "Unbound"
|
|
|
|
|
.SH NAME
|
|
|
|
|
unbound \- Unbound DNS validating resolver @version@.
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.sp
|
|
|
|
|
\fBunbound\fP [\fB\-hdpv\fP] [\fB\-c <cfgfile>\fP]
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
.sp
|
|
|
|
|
\fBunbound\fP is a caching DNS resolver.
|
|
|
|
|
.sp
|
|
|
|
|
It uses a built in list of authoritative nameservers for the root zone (\fB\&.\fP),
|
2014-08-19 06:32:17 -04:00
|
|
|
the so called root hints.
|
2025-05-20 06:20:20 -04:00
|
|
|
On receiving a DNS query it will ask the root nameservers for an answer and
|
|
|
|
|
will in almost all cases receive a delegation to a top level domain (TLD)
|
|
|
|
|
authoritative nameserver.
|
2014-08-19 06:32:17 -04:00
|
|
|
It will then ask that nameserver for an answer.
|
2025-05-20 06:20:20 -04:00
|
|
|
It will recursively continue until an answer is found or no answer is available
|
|
|
|
|
(NXDOMAIN).
|
|
|
|
|
For performance and efficiency reasons that answer is cached for a certain time
|
|
|
|
|
(the answer\(aqs time\-to\-live or TTL).
|
2014-08-19 06:32:17 -04:00
|
|
|
A second query for the same name will then be answered from the cache.
|
|
|
|
|
Unbound can also do DNSSEC validation.
|
|
|
|
|
.sp
|
2025-05-20 06:20:20 -04:00
|
|
|
To use a locally running Unbound for resolving put:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2014-08-19 06:32:17 -04:00
|
|
|
nameserver 127.0.0.1
|
2025-05-20 06:20:20 -04:00
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
into \fIresolv.conf(5)\fP\&.
|
|
|
|
|
.sp
|
|
|
|
|
If authoritative DNS is needed as well using \fI\%nsd(8)\fP,
|
|
|
|
|
careful setup is required because authoritative nameservers and resolvers are
|
|
|
|
|
using the same port number (53).
|
2014-08-19 06:32:17 -04:00
|
|
|
.sp
|
2007-01-29 08:54:32 -05:00
|
|
|
The available options are:
|
2025-05-20 06:20:20 -04:00
|
|
|
.INDENT 0.0
|
2008-01-10 10:46:55 -05:00
|
|
|
.TP
|
|
|
|
|
.B \-h
|
2019-08-12 11:52:43 -04:00
|
|
|
Show the version number and commandline option help, and exit.
|
2025-05-20 06:20:20 -04:00
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2008-01-10 10:46:55 -05:00
|
|
|
.TP
|
2025-05-20 06:20:20 -04:00
|
|
|
.B \-c <cfgfile>
|
|
|
|
|
Set the config file with settings for unbound to read instead of reading the
|
|
|
|
|
file at the default location, \fB@ub_conf_file@\fP\&.
|
|
|
|
|
The syntax is described in \fI\%unbound.conf(5)\fP\&.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2008-01-10 10:46:55 -05:00
|
|
|
.TP
|
|
|
|
|
.B \-d
|
2025-05-20 06:20:20 -04:00
|
|
|
Debug flag: do not fork into the background, but stay attached to the
|
|
|
|
|
console.
|
|
|
|
|
This flag will also delay writing to the log file until the thread\-spawn
|
|
|
|
|
time, so that most config and setup errors appear on stderr.
|
|
|
|
|
If given twice or more, logging does not switch to the log file or to
|
|
|
|
|
syslog, but the log messages are printed to stderr all the time.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2008-01-10 10:46:55 -05:00
|
|
|
.TP
|
2017-07-17 04:26:49 -04:00
|
|
|
.B \-p
|
2025-05-20 06:20:20 -04:00
|
|
|
Don\(aqt use a pidfile.
|
|
|
|
|
This argument should only be used by supervision systems which can ensure
|
|
|
|
|
that only one instance of Unbound will run concurrently.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2017-07-17 04:26:49 -04:00
|
|
|
.TP
|
2008-01-10 10:46:55 -05:00
|
|
|
.B \-v
|
2025-05-20 06:20:20 -04:00
|
|
|
Increase verbosity.
|
|
|
|
|
If given multiple times, more information is logged.
|
|
|
|
|
This is in addition to the verbosity (if any) from the config file.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2019-08-12 11:52:43 -04:00
|
|
|
.TP
|
|
|
|
|
.B \-V
|
|
|
|
|
Show the version number and build options, and exit.
|
2025-05-20 06:20:20 -04:00
|
|
|
.UNINDENT
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
.sp
|
|
|
|
|
\fI\%unbound.conf(5)\fP,
|
|
|
|
|
\fI\%unbound\-checkconf(8)\fP,
|
|
|
|
|
\fI\%nsd(8)\fP\&.
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
Unbound developers are mentioned in the CREDITS file in the distribution.
|
|
|
|
|
.SH COPYRIGHT
|
|
|
|
|
1999-2025, NLnet Labs
|
|
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
|
.
|