OS Manuals

/usr/bin/unbound-anchor

Unbound is a validating, recursive, and caching DNS resolver.

From unbound 1.26.2-r1 (enterprise-packages), captured 2026-11-08 by running unbound-anchor --help (exit 1). permalink

/usr/bin/unbound-anchor: invalid option -- '-'
Usage:	unbound-anchor [opts]
	Setup or update root anchor. Most options have defaults.
	Run this program before you start the validator.

	The anchor and cert have default builtin content
	if the file does not exist or is empty.

-a file		root key file, default /etc/unbound/root.key
		The key is input and output for this tool.
-c file		cert file, default /etc/unbound/icannbundle.pem
-l		list builtin key and cert on stdout
-u name		server in https url, default data.iana.org
-S		do not use SNI for the https connection
-x path		pathname to xml in url, default root-anchors/root-anchors.xml
-s path		pathname to p7s in url, default root-anchors/root-anchors.p7s
-n name		signer's subject emailAddress, default dnssec@iana.org
-b address	source address to bind to
-4		work using IPv4 only
-6		work using IPv6 only
-f resolv.conf	use given resolv.conf
-r root.hints	use given root.hints
		builtin root hints are used by default
-R		fallback from -f to root query on error
-v		more verbose
-C conf		debug, read config
-P port		use port for https connect, default 443
-F 		debug, force update with cert
-h		show this usage help
Version 1.26.2
BSD licensed, see LICENSE in source package for details.
Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues
Options (19)
OptionDescriptionSource
-a fileroot key file, default /etc/unbound/root.key The key is input and output for this tool.help + man
-c fileThe root update certificate file, that is read in.help + man
-lList the builtin root key and builtin root update certificate on stdout.help + man
-u nameThe server name, it connects to https://name.help + man
-SDo not use SNI for the HTTPS connection.help + man
-x pathpathname to xml in url, default root-anchors/root-anchors.xmlhelp + man
-s pathpathname to p7s in url, default root-anchors/root-anchors.p7shelp + man
-n nameThe emailAddress for the Subject of the signer's certificate from the p7s signature file.help + man
-b addressThe source address to bind to for domain resolution and contacting the server on https.help + man
-4Use IPv4 for domain resolution and contacting the server on https.help + man
-6Use IPv6 for domain resolution and contacting the server on https.help + man
-f resolv.confUse the given resolv.conf file.help + man
-r root.hintsUse the given root.hints file (same syntax as the BIND and Unbound root hints file) to bootstrap domain resolution.help + man
-RAllow fallback from -f <resolv.conf> file to direct root servers query.help + man
-vMore verbose.help + man
-C confDebug option to read <unbound.conf> into the resolver process used.help + man
-P portSet the port number to use for the https connection.help + man
-FDebug option to force update of the root anchor through downloading the xml file and verifying it with the certificate.help + man
-hShow the version and commandline option help.help + man
Exit status (2) from the manual page
1the root anchor was updated using the certificate or if the builtin root-anchor was used
0no update was necessary

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.