head	1.1;
branch	1.1.1;
access;
symbols
	unbound-1-26-1:1.1.1.3
	netbsd-11-0-RELEASE:1.1.1.1.2.3
	netbsd-11-0-RC7:1.1.1.1.2.3
	netbsd-11-0-RC6:1.1.1.1.2.3
	netbsd-11-0-RC5:1.1.1.1.2.3
	unbound-1-25-1:1.1.1.2
	netbsd-11-0-RC4:1.1.1.1.2.2
	netbsd-11-0-RC3:1.1.1.1.2.2
	netbsd-11-0-RC2:1.1.1.1.2.2
	netbsd-11-0-RC1:1.1.1.1.2.2
	netbsd-11:1.1.1.1.0.2
	unbound-1-24-2:1.1.1.1
	NLNETLABS:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2026.01.16.16.23.10;	author christos;	state Exp;
branches
	1.1.1.1;
next	;
commitid	AnZZsipTZLIVtDqG;

1.1.1.1
date	2026.01.16.16.23.10;	author christos;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;
commitid	AnZZsipTZLIVtDqG;

1.1.1.2
date	2026.05.21.16.11.43;	author christos;	state Exp;
branches;
next	1.1.1.3;
commitid	KUtmCKdRNks7oHGG;

1.1.1.3
date	2026.09.17.14.22.45;	author christos;	state Exp;
branches;
next	;
commitid	fayiV3BcuZyYSYVG;

1.1.1.1.2.1
date	2026.01.16.16.23.10;	author martin;	state dead;
branches;
next	1.1.1.1.2.2;
commitid	0mBclk78g8USdxrG;

1.1.1.1.2.2
date	2026.01.23.16.15.20;	author martin;	state Exp;
branches;
next	1.1.1.1.2.3;
commitid	0mBclk78g8USdxrG;

1.1.1.1.2.3
date	2026.06.15.18.50.42;	author martin;	state Exp;
branches;
next	1.1.1.1.2.4;
commitid	f6njiPn3ohMHtVJG;

1.1.1.1.2.4
date	2026.10.08.18.50.47;	author martin;	state Exp;
branches;
next	;
commitid	Ryg7Jl4383JDMHYG;


desc
@@


1.1
log
@Initial revision
@
text
@..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

.. program:: unbound-control

unbound-control(8)
==================

Synopsis
--------

**unbound-control** [``-hq``] [``-c cfgfile``] [``-s server``] command

Description
-----------

``unbound-control`` performs remote administration on the
:doc:`unbound(8)</manpages/unbound>` DNS server.
It reads the configuration file, contacts the Unbound server over TLS sends the
command and displays the result.

The available options are:

.. option:: -h

    Show the version and commandline option help.

.. option:: -c <cfgfile>

    The config file to read with settings.
    If not given the default config file
    :file:`@@ub_conf_file@@` is used.

.. option:: -s <server[@@port]>

    IPv4 or IPv6 address of the server to contact.
    If not given, the address is read from the config file.

.. option:: -q

    Quiet, if the option is given it does not print anything if it works ok.

Commands
--------

There are several commands that the server understands.


@@@@UAHL@@unbound-control.commands@@start@@@@
    Start the server.
    Simply execs :doc:`unbound(8)</manpages/unbound>`.
    The ``unbound`` executable is searched for in the **PATH** set in the
    environment.
    It is started with the config file specified using :option:`-c` or the
    default config file.


@@@@UAHL@@unbound-control.commands@@stop@@@@
    Stop the server.
    The server daemon exits.


@@@@UAHL@@unbound-control.commands@@reload@@@@
    Reload the server.
    This flushes the cache and reads the config file fresh.


@@@@UAHL@@unbound-control.commands@@reload_keep_cache@@@@
    Reload the server but try to keep the RRset and message cache if
    (re)configuration allows for it.
    That means the caches sizes and the number of threads must not change
    between reloads.


@@@@UAHL@@unbound-control.commands@@fast_reload@@@@ [``+dpv``]
    Reload the server, but keep downtime to a minimum, so that user queries
    keep seeing service.
    This needs the code compiled with threads.
    The config is loaded in a thread, and prepared, then it briefly pauses the
    existing server and updates config options.
    The intent is that the pause does not impact the service of user queries.
    The cache is kept.
    Also user queries worked on are kept and continue, but with the new config
    options.

    .. note::
        This command is experimental at this time.

    The amount of temporal memory needed during a fast_reload is twice the
    amount needed for configuration.
    This is because Unbound temporarily needs to store both current
    configuration values and new ones while trying to fast_reload.
    Zones loaded from disk (authority zones and RPZ zones) are included in such
    memory needs.

    Options that can be changed are for
    :ref:`forwards<unbound.conf.forward>`,
    :ref:`stubs<unbound.conf.stub>`,
    :ref:`views<unbound.conf.view>`,
    :ref:`authority zones<unbound.conf.auth>`,
    :ref:`RPZ zones<unbound.conf.rpz>` and
    :ref:`local zones<unbound.conf.local-zone>`.

    Also
    :ref:`access-control<unbound.conf.access-control>` and similar options,
    :ref:`interface-action<unbound.conf.interface-action>` and similar
    options and
    :ref:`tcp-connection-limit<unbound.conf.tcp-connection-limit>`.
    It can reload some
    :ref:`define-tag<unbound.conf.define-tag>`
    changes, more on that below.
    Further options include
    :ref:`insecure-lan-zones<unbound.conf.insecure-lan-zones>`,
    :ref:`domain-insecure<unbound.conf.domain-insecure>`,
    :ref:`trust-anchor-file<unbound.conf.trust-anchor-file>`,
    :ref:`trust-anchor<unbound.conf.trust-anchor>`,
    :ref:`trusted-keys-file<unbound.conf.trusted-keys-file>`,
    :ref:`auto-trust-anchor-file<unbound.conf.auto-trust-anchor-file>`,
    :ref:`edns-client-string<unbound.conf.edns-client-string>`,
    ipset,
    :ref:`log-identity<unbound.conf.log-identity>`,
    :ref:`infra-cache-numhosts<unbound.conf.infra-cache-numhosts>`,
    :ref:`msg-cache-size<unbound.conf.msg-cache-size>`,
    :ref:`rrset-cache-size<unbound.conf.rrset-cache-size>`,
    :ref:`key-cache-size<unbound.conf.key-cache-size>`,
    :ref:`ratelimit-size<unbound.conf.ratelimit-size>`,
    :ref:`neg-cache-size<unbound.conf.neg-cache-size>`,
    :ref:`num-queries-per-thread<unbound.conf.num-queries-per-thread>`,
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>`,
    :ref:`use-caps-for-id<unbound.conf.use-caps-for-id>`,
    :ref:`unwanted-reply-threshold<unbound.conf.unwanted-reply-threshold>`,
    :ref:`tls-use-sni<unbound.conf.tls-use-sni>`,
    :ref:`outgoing-tcp-mss<unbound.conf.outgoing-tcp-mss>`,
    :ref:`ip-dscp<unbound.conf.ip-dscp>`,
    :ref:`max-reuse-tcp-queries<unbound.conf.max-reuse-tcp-queries>`,
    :ref:`tcp-reuse-timeout<unbound.conf.tcp-reuse-timeout>`,
    :ref:`tcp-auth-query-timeout<unbound.conf.tcp-auth-query-timeout>`,
    :ref:`delay-close<unbound.conf.delay-close>`.
    :ref:`iter-scrub-promiscuous<unbound.conf.iter-scrub-promiscuous>`.

    It does not work with
    :ref:`interface<unbound.conf.interface>` and
    :ref:`outgoing-interface<unbound.conf.outgoing-interface>` changes,
    also not with
    :ref:`remote control<unbound.conf.remote>`,
    :ref:`outgoing-port-permit<unbound.conf.outgoing-port-permit>`,
    :ref:`outgoing-port-avoid<unbound.conf.outgoing-port-avoid>`,
    :ref:`msg-buffer-size<unbound.conf.msg-buffer-size>`,
    any **\*-slabs** options and
    :ref:`statistics-interval<unbound.conf.statistics-interval>` changes.

    For :ref:`dnstap<unbound.conf.dnstap>` these options can be changed:
    :ref:`dnstap-log-resolver-query-messages<unbound.conf.dnstap.dnstap-log-resolver-query-messages>`,
    :ref:`dnstap-log-resolver-response-messages<unbound.conf.dnstap.dnstap-log-resolver-response-messages>`,
    :ref:`dnstap-log-client-query-messages<unbound.conf.dnstap.dnstap-log-client-query-messages>`,
    :ref:`dnstap-log-client-response-messages<unbound.conf.dnstap.dnstap-log-client-response-messages>`,
    :ref:`dnstap-log-forwarder-query-messages<unbound.conf.dnstap.dnstap-log-forwarder-query-messages>` and
    :ref:`dnstap-log-forwarder-response-messages<unbound.conf.dnstap.dnstap-log-forwarder-response-messages>`.

    It does not work with these options:
    :ref:`dnstap-enable<unbound.conf.dnstap.dnstap-enable>`,
    :ref:`dnstap-bidirectional<unbound.conf.dnstap.dnstap-bidirectional>`,
    :ref:`dnstap-socket-path<unbound.conf.dnstap.dnstap-socket-path>`,
    :ref:`dnstap-ip<unbound.conf.dnstap.dnstap-ip>`,
    :ref:`dnstap-tls<unbound.conf.dnstap.dnstap-tls>`,
    :ref:`dnstap-tls-server-name<unbound.conf.dnstap.dnstap-tls-server-name>`,
    :ref:`dnstap-tls-cert-bundle<unbound.conf.dnstap.dnstap-tls-cert-bundle>`,
    :ref:`dnstap-tls-client-key-file<unbound.conf.dnstap.dnstap-tls-client-key-file>` and
    :ref:`dnstap-tls-client-cert-file<unbound.conf.dnstap.dnstap-tls-client-cert-file>`.

    The options
    :ref:`dnstap-send-identity<unbound.conf.dnstap.dnstap-send-identity>`,
    :ref:`dnstap-send-version<unbound.conf.dnstap.dnstap-send-version>`,
    :ref:`dnstap-identity<unbound.conf.dnstap.dnstap-identity>`, and
    :ref:`dnstap-version<unbound.conf.dnstap.dnstap-version>` can be loaded
    when ``+p`` is not used.

    The ``+v`` option makes the output verbose which includes the time it took
    to do the reload.
    With ``+vv`` it is more verbose which includes the amount of memory that
    was allocated temporarily to perform the reload; this amount of memory can
    be big if the config has large contents.
    In the timing output the 'reload' time is the time during which the server
    was paused.

    The ``+p`` option makes the reload not pause threads, they keep running.
    Locks are acquired, but items are updated in sequence, so it is possible
    for threads to see an inconsistent state with some options from the old
    and some options from the new config, such as cache TTL parameters from the
    old config and forwards from the new config.
    The stubs and forwards are updated at the same time, so that they are
    viewed consistently, either old or new values together.
    The option makes the reload time take eg. 3 microseconds instead of 0.3
    milliseconds during which the worker threads are interrupted.
    So, the interruption is much shorter, at the expense of some inconsistency.
    After the reload itself, every worker thread is briefly contacted to make
    them release resources, this makes the delete timing a little longer, and
    takes up time from the remote control servicing worker thread.

    With the nopause option (``+p``), the reload does not work to reload some
    options, that fast reload works on without the nopause option:
    :ref:`val-bogus-ttl<unbound.conf.val-bogus-ttl>`,
    :ref:`val-override-date<unbound.conf.val-override-date>`,
    :ref:`val-sig-skew-min<unbound.conf.val-sig-skew-min>`,
    :ref:`val-sig-skew-max<unbound.conf.val-sig-skew-max>`,
    :ref:`val-max-restart<unbound.conf.val-max-restart>`,
    :ref:`val-nsec3-keysize-iterations<unbound.conf.val-nsec3-keysize-iterations>`,
    :ref:`target-fetch-policy<unbound.conf.target-fetch-policy>`,
    :ref:`outbound-msg-retry<unbound.conf.outbound-msg-retry>`,
    :ref:`max-sent-count<unbound.conf.max-sent-count>`,
    :ref:`max-query-restarts<unbound.conf.max-query-restarts>`,
    :ref:`do-not-query-address<unbound.conf.do-not-query-address>`,
    :ref:`do-not-query-localhost<unbound.conf.do-not-query-localhost>`,
    :ref:`private-address<unbound.conf.private-address>`,
    :ref:`private-domain<unbound.conf.private-domain>`,
    :ref:`caps-exempt<unbound.conf.caps-exempt>`,
    :ref:`nat64-prefix<unbound.conf.nat64.nat64-prefix>`,
    :ref:`do-nat64<unbound.conf.nat64.do-nat64>`,
    :ref:`infra-host-ttl<unbound.conf.infra-host-ttl>`,
    :ref:`infra-keep-probing<unbound.conf.infra-keep-probing>`,
    :ref:`ratelimit<unbound.conf.ratelimit>`,
    :ref:`ip-ratelimit<unbound.conf.ip-ratelimit>`,
    :ref:`ip-ratelimit-cookie<unbound.conf.ip-ratelimit-cookie>`,
    :ref:`wait-limit-netblock<unbound.conf.wait-limit-netblock>`,
    :ref:`wait-limit-cookie-netblock<unbound.conf.wait-limit-cookie-netblock>`,
    :ref:`ratelimit-below-domain<unbound.conf.ratelimit-below-domain>`,
    :ref:`ratelimit-for-domain<unbound.conf.ratelimit-for-domain>`.

    The ``+d`` option makes the reload drop queries that the worker threads are
    working on.
    This is like
    :ref:`flush_requestlist<unbound-control.commands.flush_requestlist>`.
    Without it the queries are kept so that users keep getting answers for
    those queries that are currently processed.
    The drop makes it so that queries during the life time of the
    query processing see only old, or only new config options.

    When there are changes to the config tags, from the
    :ref:`define-tag<unbound.conf.define-tag>` option,
    then the ``+d`` option is implicitly turned on with a warning printout, and
    queries are dropped.
    This is to stop references to the old tag information, by the old
    queries.
    If the number of tags is increased in the newly loaded config, by
    adding tags at the end, then the implicit ``+d`` option is not needed.

    For response ip, that is actions associated with IP addresses, and perhaps
    intersected with access control tag and action information, those settings
    are stored with a query when it comes in based on its source IP address.
    The old information is kept with the query until the queries are done.
    This is gone when those queries are resolved and finished, or it is
    possible to flush the requestlist with ``+d``.


@@@@UAHL@@unbound-control.commands@@verbosity@@@@ *number*
    Change verbosity value for logging.
    Same values as the **verbosity:** keyword in
    :doc:`unbound.conf(5)</manpages/unbound.conf>`.
    This new setting lasts until the server is issued a reload (taken from
    config file again), or the next verbosity control command.


@@@@UAHL@@unbound-control.commands@@log_reopen@@@@
    Reopen the logfile, close and open it.
    Useful for logrotation to make the daemon release the file it is logging
    to.
    If you are using syslog it will attempt to close and open the syslog (which
    may not work if chrooted).


@@@@UAHL@@unbound-control.commands@@stats@@@@
    Print statistics.
    Resets the internal counters to zero, this can be controlled using the
    **statistics-cumulative:** config statement.
    Statistics are printed with one ``[name]: [value]`` per line.


@@@@UAHL@@unbound-control.commands@@stats_noreset@@@@
    Peek at statistics.
    Prints them like the stats command does, but does not reset the internal
    counters to zero.


@@@@UAHL@@unbound-control.commands@@status@@@@
    Display server status.
    Exit code 3 if not running (the connection to the port is refused), 1 on
    error, 0 if running.


@@@@UAHL@@unbound-control.commands@@local_zone@@@@ *name type*
    Add new local zone with name and type.
    Like local-zone config statement.
    If the zone already exists, the type is changed to the given argument.


@@@@UAHL@@unbound-control.commands@@local_zone_remove@@@@ *name*
    Remove the local zone with the given name.
    Removes all local data inside it.
    If the zone does not exist, the command succeeds.


@@@@UAHL@@unbound-control.commands@@local_data@@@@ *RR data...*
    Add new local data, the given resource record.
    Like **local-data:** keyword, except for when no covering zone exists.
    In that case this remote control command creates a transparent zone with
    the same name as this record.


@@@@UAHL@@unbound-control.commands@@local_data_remove@@@@ *name*
    Remove all RR data from local name.
    If the name already has no items, nothing happens.
    Often results in NXDOMAIN for the name (in a static zone), but if the name
    has become an empty nonterminal (there is still data in domain names below
    the removed name), NOERROR nodata answers are the result for that name.


@@@@UAHL@@unbound-control.commands@@local_zones@@@@
    Add local zones read from stdin of unbound-control.
    Input is read per line, with name space type on a line.
    For bulk additions.


@@@@UAHL@@unbound-control.commands@@local_zones_remove@@@@
    Remove local zones read from stdin of unbound-control.
    Input is one name per line.
    For bulk removals.


@@@@UAHL@@unbound-control.commands@@local_datas@@@@
    Add local data RRs read from stdin of unbound-control.
    Input is one RR per line.
    For bulk additions.


@@@@UAHL@@unbound-control.commands@@local_datas_remove@@@@
    Remove local data RRs read from stdin of unbound-control.
    Input is one name per line.
    For bulk removals.


@@@@UAHL@@unbound-control.commands@@dump_cache@@@@
    The contents of the cache is printed in a text format to stdout.
    You can redirect it to a file to store the cache in a file.
    Not supported in remote Unbounds in multi-process operation.


@@@@UAHL@@unbound-control.commands@@load_cache@@@@
    The contents of the cache is loaded from stdin.
    Uses the same format as dump_cache uses.
    Loading the cache with old, or wrong data can result in old or wrong data
    returned to clients.
    Loading data into the cache in this way is supported in order to aid with
    debugging.
    Not supported in remote Unbounds in multi-process operation.


@@@@UAHL@@unbound-control.commands@@cache_lookup@@@@ [``+t``] *names*
    Print to stdout the RRsets and messages that are in the cache.
    For every name listed the content at or under the name is printed.
    Several names separated by spaces can be given, each is printed.
    When subnetcache is enabled, also matching entries from the subnet
    cache are printed.

    The ``+t`` option allows tld and root names.
    With it names like 'com' and '.' can be used, but it takes a lot of
    effort to look up in the cache.


@@@@UAHL@@unbound-control.commands@@lookup@@@@ *name*
    Print to stdout the name servers that would be used to look up the name
    specified.


@@@@UAHL@@unbound-control.commands@@flush@@@@ [``+c``] *name*
    Remove the name from the cache.
    Removes the types A, AAAA, NS, SOA, CNAME, DNAME, MX, PTR, SRV, NAPTR,
    SVCB and HTTPS.
    Because that is fast to do.
    Other record types can be removed using **flush_type** or **flush_zone**.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_type@@@@ [``+c``] *name type*
    Remove the name, type information from the cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_zone@@@@ [``+c``] name
    Remove all information at or below the name from the cache.
    The rrsets and key entries are removed so that new lookups will be
    performed.
    This needs to walk and inspect the entire cache, and is a slow operation.
    The entries are set to expired in the implementation of this command (so,
    with serve-expired enabled, it'll serve that information but schedule a
    prefetch for new information).

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_bogus@@@@ [``+c``]
    Remove all bogus data from the cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_negative@@@@ [``+c``]
    Remove all negative data from the cache.
    This is nxdomain answers, nodata answers and servfail answers.
    Also removes bad key entries (which could be due to failed lookups) from
    the dnssec key cache, and iterator last-resort lookup failures from the
    rrset cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_stats@@@@
    Reset statistics to zero.


@@@@UAHL@@unbound-control.commands@@flush_requestlist@@@@
    Drop the queries that are worked on.
    Stops working on the queries that the server is working on now.
    The cache is unaffected.
    No reply is sent for those queries, probably making those users request
    again later.
    Useful to make the server restart working on queries with new settings,
    such as a higher verbosity level.


@@@@UAHL@@unbound-control.commands@@dump_requestlist@@@@
    Show what is worked on.
    Prints all queries that the server is currently working on.
    Prints the time that users have been waiting.
    For internal requests, no time is printed.
    And then prints out the module status.
    This prints the queries from the first thread, and not queries that are
    being serviced from other threads.


@@@@UAHL@@unbound-control.commands@@flush_infra@@@@ *all|IP*
    If all then entire infra cache is emptied.
    If a specific IP address, the entry for that address is removed from the
    cache.
    It contains EDNS, ping and lameness data.


@@@@UAHL@@unbound-control.commands@@dump_infra@@@@
    Show the contents of the infra cache.


@@@@UAHL@@unbound-control.commands@@set_option@@@@ *opt: val*
    Set the option to the given value without a reload.
    The cache is therefore not flushed.
    The option must end with a ``':'`` and whitespace must be between the
    option and the value.
    Some values may not have an effect if set this way, the new values are not
    written to the config file, not all options are supported.
    This is different from the set_option call in libunbound, where all values
    work because Unbound has not been initialized.

    The values that work are: statistics-interval, statistics-cumulative,
    do-not-query-localhost,  harden-short-bufsize, harden-large-queries,
    harden-glue, harden-dnssec-stripped, harden-below-nxdomain,
    harden-referral-path,  prefetch, prefetch-key, log-queries, hide-identity,
    hide-version, identity, version, val-log-level, val-log-squelch,
    ignore-cd-flag, add-holddown, del-holddown, keep-missing, tcp-upstream,
    ssl-upstream, max-udp-size, ratelimit, ip-ratelimit, cache-max-ttl,
    cache-min-ttl, cache-max-negative-ttl.


@@@@UAHL@@unbound-control.commands@@get_option@@@@ *opt*
    Get the value of the option.
    Give the option name without a trailing ``':'``.
    The value is printed.
    If the value is ``""``, nothing is printed and the connection closes.
    On error ``'error ...'`` is printed (it gives a syntax error on unknown
    option).
    For some options a list of values, one on each line, is printed.
    The options are shown from the config file as modified with set_option.
    For some options an override may have been taken that does not show up with
    this command, not results from e.g. the verbosity and forward control
    commands.
    Not all options work, see list_stubs, list_forwards, list_local_zones and
    list_local_data for those.


@@@@UAHL@@unbound-control.commands@@list_stubs@@@@
    List the stub zones in use.
    These are printed one by one to the output.
    This includes the root hints in use.


@@@@UAHL@@unbound-control.commands@@list_forwards@@@@
    List the forward zones in use.
    These are printed zone by zone to the output.


@@@@UAHL@@unbound-control.commands@@list_insecure@@@@
    List the zones with domain-insecure.


@@@@UAHL@@unbound-control.commands@@list_local_zones@@@@
    List the local zones in use.
    These are printed one per line with zone type.


@@@@UAHL@@unbound-control.commands@@list_local_data@@@@
    List the local data RRs in use.
    The resource records are printed.


@@@@UAHL@@unbound-control.commands@@insecure_add@@@@ *zone*
    Add a domain-insecure for the given zone, like the statement in
    unbound.conf.
    Adds to the running Unbound without affecting the cache
    contents (which may still be bogus, use flush_zone to remove it), does not
    affect the config file.


@@@@UAHL@@unbound-control.commands@@insecure_remove@@@@ *zone*
    Removes domain-insecure for the given zone.


@@@@UAHL@@unbound-control.commands@@forward_add@@@@ [``+it``] *zone addr ...*
    Add a new forward zone to running Unbound.
    With ``+i`` option also adds a domain-insecure for the zone (so it can
    resolve insecurely if you have a DNSSEC root trust anchor configured for
    other names).
    The addr can be IP4, IP6 or nameserver names, like forward-zone config in
    unbound.conf.
    The ``+t`` option sets it to use TLS upstream, like
    :ref:`forward-tls-upstream: yes<unbound.conf.forward.forward-tls-upstream>`.


@@@@UAHL@@unbound-control.commands@@forward_remove@@@@ [``+i``] *zone*
    Remove a forward zone from running Unbound.
    The ``+i`` also removes a domain-insecure for the zone.


@@@@UAHL@@unbound-control.commands@@stub_add@@@@ [``+ipt``] *zone addr ...*
    Add a new stub zone to running Unbound.
    With ``+i`` option also adds a domain-insecure for the zone.
    With ``+p`` the stub zone is set to prime, without it it is set to
    notprime.
    The addr can be IP4, IP6 or nameserver names, like the **stub-zone:**
    config in unbound.conf.
    The ``+t`` option sets it to use TLS upstream, like
    :ref:`stub-tls-upstream: yes<unbound.conf.stub.stub-tls-upstream>`.


@@@@UAHL@@unbound-control.commands@@stub_remove@@@@ [``+i``] *zone*
    Remove a stub zone from running Unbound.
    The ``+i`` also removes a domain-insecure for the zone.


@@@@UAHL@@unbound-control.commands@@forward@@@@ [*off* | *addr ...* ]
    Setup forwarding mode.
    Configures if the server should ask other upstream nameservers, should go
    to the internet root nameservers itself, or show the current config.
    You could pass the nameservers after a DHCP update.

    Without arguments the current list of addresses used to forward all queries
    to is printed.
    On startup this is from the forward-zone ``"."`` configuration.
    Afterwards it shows the status.
    It prints off when no forwarding is used.

    If off is passed, forwarding is disabled and the root nameservers are
    used.
    This can be used to avoid to avoid buggy or non-DNSSEC supporting
    nameservers returned from DHCP.
    But may not work in hotels or hotspots.

    If one or more IPv4 or IPv6 addresses are given, those are then used to
    forward queries to.
    The addresses must be separated with spaces.
    With ``'@@port'`` the port number can be set explicitly (default port is 53
    (DNS)).

    By default the forwarder information from the config file for the root
    ``"."`` is used.
    The config file is not changed, so after a reload these changes are gone.
    Other forward zones from the config file are not affected by this command.


@@@@UAHL@@unbound-control.commands@@ratelimit_list@@@@ [``+a``]
    List the domains that are ratelimited.
    Printed one per line with current estimated qps and qps limit from config.
    With ``+a`` it prints all domains, not just the ratelimited domains, with
    their estimated qps.
    The ratelimited domains return an error for uncached (new) queries, but
    cached queries work as normal.


@@@@UAHL@@unbound-control.commands@@ip_ratelimit_list@@@@ [``+a``]
    List the ip addresses that are ratelimited.
    Printed one per line with current estimated qps and qps limit from config.
    With ``+a`` it prints all ips, not just the ratelimited ips, with their
    estimated qps.
    The ratelimited ips are dropped before checking the cache.


@@@@UAHL@@unbound-control.commands@@list_auth_zones@@@@
    List the auth zones that are configured.
    Printed one per line with a status, indicating if the zone is expired and
    current serial number.
    Configured RPZ zones are included.


@@@@UAHL@@unbound-control.commands@@auth_zone_reload@@@@ *zone*
    Reload the auth zone (or RPZ zone) from zonefile.
    The zonefile is read in overwriting the current contents of the zone in
    memory.
    This changes the auth zone contents itself, not the cache contents.
    Such cache contents exists if you set Unbound to validate with
    **for-upstream: yes** and that can be cleared with **flush_zone** *zone*.


@@@@UAHL@@unbound-control.commands@@auth_zone_transfer@@@@ *zone*
    Transfer the auth zone (or RPZ zone) from master.
    The auth zone probe sequence is started, where the masters are probed to
    see if they have an updated zone (with the SOA serial check).
    And then the zone is transferred for a newer zone version.


@@@@UAHL@@unbound-control.commands@@rpz_enable@@@@ *zone*
    Enable the RPZ zone if it had previously been disabled.


@@@@UAHL@@unbound-control.commands@@rpz_disable@@@@ *zone*
    Disable the RPZ zone.


@@@@UAHL@@unbound-control.commands@@view_list_local_zones@@@@ *view*
    *list_local_zones* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_zone@@@@ *view name type*
    *local_zone* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_zone_remove@@@@ *view name*
    *local_zone_remove* for given view.


@@@@UAHL@@unbound-control.commands@@view_list_local_data@@@@ *view*
    *list_local_data* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_data@@@@ *view RR data...*
    *local_data* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_data_remove@@@@ *view name*
    *local_data_remove* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_datas_remove@@@@ *view*
    Remove a list of *local_data* for given view from stdin.
    Like *local_datas_remove*.


@@@@UAHL@@unbound-control.commands@@view_local_datas@@@@ *view*
    Add a list of *local_data* for given view from stdin.
    Like *local_datas*.


@@@@UAHL@@unbound-control.commands@@add_cookie_secret@@@@ *secret*
    Add or replace a cookie secret persistently.
    *secret* needs to be an 128 bit hex string.

    Cookie secrets can be either **active** or **staging**.
    **Active** cookie secrets are used to create DNS Cookies, but verification
    of a DNS Cookie succeeds with any of the **active** or **staging** cookie
    secrets.
    The state of the current cookie secrets can be printed with the
    :ref:`print_cookie_secrets<unbound-control.commands.print_cookie_secrets>`
    command.

    When there are no cookie secrets configured yet, the *secret* is added as
    **active**.
    If there is already an **active** cookie secret, the *secret* is added as
    **staging** or replacing an existing **staging** secret.

    To "roll" a cookie secret used in an anycast set.
    The new secret has to be added as **staging** secret to **all** nodes in
    the anycast set.
    When **all** nodes can verify DNS Cookies with the new secret, the new
    secret can be activated with the
    :ref:`activate_cookie_secret<unbound-control.commands.activate_cookie_secret>`
    command.
    After **all** nodes have the new secret **active** for at least one hour,
    the previous secret can be dropped with the
    :ref:`drop_cookie_secret<unbound-control.commands.drop_cookie_secret>`
    command.

    Persistence is accomplished by writing to a file which is configured with
    the
    :ref:`cookie-secret-file<unbound.conf.cookie-secret-file>`
    option in the server section of the config file.
    This is disabled by default, "".


@@@@UAHL@@unbound-control.commands@@drop_cookie_secret@@@@
    Drop the **staging** cookie secret.


@@@@UAHL@@unbound-control.commands@@activate_cookie_secret@@@@
    Make the current **staging** cookie secret **active**, and the current
    **active** cookie secret **staging**.


@@@@UAHL@@unbound-control.commands@@print_cookie_secrets@@@@
    Show the current configured cookie secrets with their status.

Exit Code
---------

The ``unbound-control`` program exits with status code 1 on error, 0 on
success.

Set Up
------

The setup requires a self-signed certificate and private keys for both the
server and client.
The script ``unbound-control-setup`` generates these in the default run
directory, or with ``-d`` in another directory.
If you change the access control permissions on the key files you can decide
who can use ``unbound-control``, by default owner and group but not all users.
Run the script under the same username as you have configured in
:file:`unbound.conf` or as root, so that the daemon is permitted to read the
files, for example with:

.. code-block:: bash

    sudo -u unbound unbound-control-setup

If you have not configured a username in :file:`unbound.conf`, the keys need
read permission for the user credentials under which the daemon is started.
The script preserves private keys present in the directory.
After running the script as root, turn on
:ref:`control-enable<unbound.conf.remote.control-enable>` in
:file:`unbound.conf`.

Statistic Counters
------------------

The :ref:`stats<unbound-control.commands.stats>` and
:ref:`stats_noreset<unbound-control.commands.stats_noreset>` commands show a
number of statistic counters:


@@@@UAHL@@unbound-control.stats@@threadX.num.queries@@@@
    number of queries received by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_ip_ratelimited@@@@
    number of queries rate limited by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_valid@@@@
    number of queries with a valid DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_client@@@@
    number of queries with a client part only DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_invalid@@@@
    number of queries with an invalid DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_discard_timeout@@@@
    number of queries removed due to discard-timeout by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_wait_limit@@@@
    number of queries removed due to wait-limit by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.cachehits@@@@
    number of queries that were successfully answered using a cache lookup


@@@@UAHL@@unbound-control.stats@@threadX.num.cachemiss@@@@
    number of queries that needed recursive processing


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.crypted@@@@
    number of queries that were encrypted and successfully decapsulated by
    dnscrypt.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.cert@@@@
    number of queries that were requesting dnscrypt certificates.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.cleartext@@@@
    number of queries received on dnscrypt port that were cleartext and not a
    request for certificates.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.malformed@@@@
    number of request that were neither cleartext, not valid dnscrypt messages.


@@@@UAHL@@unbound-control.stats@@threadX.num.dns_error_reports@@@@
    number of DNS Error Reports generated by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.prefetch@@@@
    number of cache prefetches performed.
    This number is included in cachehits, as the original query had the
    unprefetched answer from cache, and resulted in recursive processing,
    taking a slot in the requestlist.
    Not part of the recursivereplies (or the histogram thereof) or cachemiss,
    as a cache response was sent.


@@@@UAHL@@unbound-control.stats@@threadX.num.expired@@@@
    number of replies that served an expired cache entry.


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_timed_out@@@@
    number of queries that are dropped because they waited in the UDP socket
    buffer for too long.


@@@@UAHL@@unbound-control.stats@@threadX.query.queue_time_us.max@@@@
    The maximum wait time for packets in the socket buffer, in microseconds.
    This is only reported when
    :ref:`sock-queue-timeout<unbound.conf.sock-queue-timeout>` is enabled.


@@@@UAHL@@unbound-control.stats@@threadX.num.recursivereplies@@@@
    The number of replies sent to queries that needed recursive processing.
    Could be smaller than threadX.num.cachemiss if due to timeouts no replies
    were sent for some queries.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.avg@@@@
    The average number of requests in the internal recursive processing request
    list on insert of a new incoming recursive processing query.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.max@@@@
    Maximum size attained by the internal recursive processing request list.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.overwritten@@@@
    Number of requests in the request list that were overwritten by newer
    entries.
    This happens if there is a flood of queries that recursive processing and
    the server has a hard time.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.exceeded@@@@
    Queries that were dropped because the request list was full.
    This happens if a flood of queries need recursive processing, and the
    server can not keep up.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.all@@@@
    Current size of the request list, includes internally generated queries
    (such as priming queries and glue lookups).


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.user@@@@
    Current size of the request list, only the requests from client queries.


@@@@UAHL@@unbound-control.stats@@threadX.recursion.time.avg@@@@
    Average time it took to answer queries that needed recursive processing.
    Note that queries that were answered from the cache are not in this average.


@@@@UAHL@@unbound-control.stats@@threadX.recursion.time.median@@@@
    The median of the time it took to answer queries that needed recursive
    processing.
    The median means that 50% of the user queries were answered in less than
    this time.
    Because of big outliers (usually queries to non responsive servers), the
    average can be bigger than the median.
    This median has been calculated by interpolation from a histogram.


@@@@UAHL@@unbound-control.stats@@threadX.tcpusage@@@@
    The currently held tcp buffers for incoming connections.
    A spot value on the time of the request.
    This helps you spot if the incoming-num-tcp buffers are full.


@@@@UAHL@@unbound-control.stats@@total.num.queries@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_ip_ratelimited@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_valid@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_client@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_invalid@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_discard_timeout@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_wait_limit@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.cachehits@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.cachemiss@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.crypted@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.cert@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.cleartext@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.malformed@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dns_error_reports@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.prefetch@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.expired@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_timed_out@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.query.queue_time_us.max@@@@
    the maximum of the thread values.


@@@@UAHL@@unbound-control.stats@@total.num.recursivereplies@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.avg@@@@
    averaged over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.max@@@@
    the maximum of the thread requestlist.max values.


@@@@UAHL@@unbound-control.stats@@total.requestlist.overwritten@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.exceeded@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.current.all@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.recursion.time.median@@@@
    averaged over threads.


@@@@UAHL@@unbound-control.stats@@total.tcpusage@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@time.now@@@@
    current time in seconds since 1970.


@@@@UAHL@@unbound-control.stats@@time.up@@@@
    uptime since server boot in seconds.


@@@@UAHL@@unbound-control.stats@@time.elapsed@@@@
    time since last statistics printout, in seconds.

Extended Statistics
-------------------


@@@@UAHL@@unbound-control.stats@@mem.cache.rrset@@@@
    Memory in bytes in use by the RRset cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.message@@@@
    Memory in bytes in use by the message cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.dnscrypt_shared_secret@@@@
    Memory in bytes in use by the dnscrypt shared secrets cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.dnscrypt_nonce@@@@
    Memory in bytes in use by the dnscrypt nonce cache.


@@@@UAHL@@unbound-control.stats@@mem.mod.iterator@@@@
    Memory in bytes in use by the iterator module.


@@@@UAHL@@unbound-control.stats@@mem.mod.validator@@@@
    Memory in bytes in use by the validator module.
    Includes the key cache and negative cache.


@@@@UAHL@@unbound-control.stats@@mem.streamwait@@@@
    Memory in bytes in used by the TCP and TLS stream wait buffers.
    These are answers waiting to be written back to the clients.


@@@@UAHL@@unbound-control.stats@@mem.http.query_buffer@@@@
    Memory in bytes used by the HTTP/2 query buffers.
    Containing (partial) DNS queries waiting for request stream completion.


@@@@UAHL@@unbound-control.stats@@mem.http.response_buffer@@@@
    Memory in bytes used by the HTTP/2 response buffers.
    Containing DNS responses waiting to be written back to the clients.


@@@@UAHL@@unbound-control.stats@@mem.quic@@@@
    Memory in bytes used by QUIC.
    Containing connection information, stream information, queries read and
    responses written back to the clients.

@@@@UAHL@@unbound-control.stats@@histogram@@@@.<sec>.<usec>.to.<sec>.<usec>
    Shows a histogram, summed over all threads.
    Every element counts the recursive queries whose reply time fit between the
    lower and upper bound.
    Times larger or equal to the lowerbound, and smaller than the upper bound.
    There are 40 buckets, with bucket sizes doubling.


@@@@UAHL@@unbound-control.stats@@num.query.type.A@@@@
    The total number of queries over all threads with query type A.
    Printed for the other query types as well, but only for the types for which
    queries were received, thus =0 entries are omitted for brevity.


@@@@UAHL@@unbound-control.stats@@num.query.type.other@@@@
    Number of queries with query types 256-65535.


@@@@UAHL@@unbound-control.stats@@num.query.class.IN@@@@
    The total number of queries over all threads with query class IN
    (internet).
    Also printed for other classes (such as CH (CHAOS) sometimes used for
    debugging), or NONE, ANY, used by dynamic update.
    num.query.class.other is printed for classes 256-65535.


@@@@UAHL@@unbound-control.stats@@num.query.opcode.QUERY@@@@
    The total number of queries over all threads with query opcode QUERY.
    Also printed for other opcodes, UPDATE, ...


@@@@UAHL@@unbound-control.stats@@num.query.tcp@@@@
    Number of queries that were made using TCP towards the Unbound server.


@@@@UAHL@@unbound-control.stats@@num.query.tcpout@@@@
    Number of queries that the Unbound server made using TCP outgoing towards
    other servers.


@@@@UAHL@@unbound-control.stats@@num.query.udpout@@@@
    Number of queries that the Unbound server made using UDP outgoing towards
    other servers.


@@@@UAHL@@unbound-control.stats@@num.query.tls@@@@
    Number of queries that were made using TLS towards the Unbound server.
    These are also counted in num.query.tcp, because TLS uses TCP.


@@@@UAHL@@unbound-control.stats@@num.query.tls.resume@@@@
    Number of TLS session resumptions, these are queries over TLS towards the
    Unbound server where the client negotiated a TLS session resumption key.


@@@@UAHL@@unbound-control.stats@@num.query.https@@@@
    Number of queries that were made using HTTPS towards the Unbound server.
    These are also counted in num.query.tcp and num.query.tls, because HTTPS
    uses TLS and TCP.


@@@@UAHL@@unbound-control.stats@@num.query.quic@@@@
    Number of queries that were made using QUIC towards the Unbound server.
    These are also counted in num.query.tls, because TLS is used for these
    queries.


@@@@UAHL@@unbound-control.stats@@num.query.ipv6@@@@
    Number of queries that were made using IPv6 towards the Unbound server.


@@@@UAHL@@unbound-control.stats@@num.query.flags.RD@@@@
    The number of queries that had the RD flag set in the header.
    Also printed for flags QR, AA, TC, RA, Z, AD, CD.
    Note that queries with flags QR, AA or TC may have been rejected because of
    that.


@@@@UAHL@@unbound-control.stats@@num.query.edns.present@@@@
    number of queries that had an EDNS OPT record present.


@@@@UAHL@@unbound-control.stats@@num.query.edns.DO@@@@
    number of queries that had an EDNS OPT record with the DO (DNSSEC OK) bit
    set.
    These queries are also included in the num.query.edns.present number.


@@@@UAHL@@unbound-control.stats@@num.query.ratelimited@@@@
    The number of queries that are turned away from being send to nameserver
    due to ratelimiting.


@@@@UAHL@@unbound-control.stats@@num.query.dnscrypt.shared_secret.cachemiss@@@@
    The number of dnscrypt queries that did not find a shared secret in the
    cache.
    This can be use to compute the shared secret hitrate.


@@@@UAHL@@unbound-control.stats@@num.query.dnscrypt.replay@@@@
    The number of dnscrypt queries that found a nonce hit in the nonce cache
    and hence are considered a query replay.


@@@@UAHL@@unbound-control.stats@@num.answer.rcode.NXDOMAIN@@@@
    The number of answers to queries, from cache or from recursion, that had
    the return code NXDOMAIN.
    Also printed for the other return codes.


@@@@UAHL@@unbound-control.stats@@num.answer.rcode.nodata@@@@
    The number of answers to queries that had the pseudo return code nodata.
    This means the actual return code was NOERROR, but additionally, no data
    was carried in the answer (making what is called a NOERROR/NODATA answer).
    These queries are also included in the num.answer.rcode.NOERROR number.
    Common for AAAA lookups when an A record exists, and no AAAA.


@@@@UAHL@@unbound-control.stats@@num.answer.secure@@@@
    Number of answers that were secure.
    The answer validated correctly.
    The AD bit might have been set in some of these answers, where the client
    signalled (with DO or AD bit in the query) that they were ready to accept
    the AD bit in the answer.


@@@@UAHL@@unbound-control.stats@@num.answer.bogus@@@@
    Number of answers that were bogus.
    These answers resulted in SERVFAIL to the client because the answer failed
    validation.


@@@@UAHL@@unbound-control.stats@@num.rrset.bogus@@@@
    The number of rrsets marked bogus by the validator.
    Increased for every RRset inspection that fails.


@@@@UAHL@@unbound-control.stats@@num.valops@@@@
    The number of validation operations performed by the validator.
    Increased for every RRSIG verification operation regardless of the
    validation result.
    The RRSIG and key combination needs to first pass some sanity checks before
    Unbound even performs the verification, e.g., length/protocol checks.


@@@@UAHL@@unbound-control.stats@@unwanted.queries@@@@
    Number of queries that were refused or dropped because they failed the
    access control settings.


@@@@UAHL@@unbound-control.stats@@unwanted.replies@@@@
    Replies that were unwanted or unsolicited.
    Could have been random traffic, delayed duplicates, very late answers, or
    could be spoofing attempts.
    Some low level of late answers and delayed duplicates are to be expected
    with the UDP protocol.
    Very high values could indicate a threat (spoofing).


@@@@UAHL@@unbound-control.stats@@msg.cache.count@@@@
    The number of items (DNS replies) in the message cache.


@@@@UAHL@@unbound-control.stats@@rrset.cache.count@@@@
    The number of RRsets in the rrset cache.
    This includes rrsets used by the messages in the message cache, but also
    delegation information.


@@@@UAHL@@unbound-control.stats@@infra.cache.count@@@@
    The number of items in the infra cache.
    These are IP addresses with their timing and protocol support information.


@@@@UAHL@@unbound-control.stats@@key.cache.count@@@@
    The number of items in the key cache.
    These are DNSSEC keys, one item per delegation point, and their validation
    status.


@@@@UAHL@@unbound-control.stats@@msg.cache.max_collisions@@@@
    The maximum number of hash table collisions in the msg cache.
    This is the number of hashes that are identical when a new element is
    inserted in the hash table.
    If the value is very large, like hundreds, something is wrong with the
    performance of the hash table, hash values are incorrect or malicious.


@@@@UAHL@@unbound-control.stats@@rrset.cache.max_collisions@@@@
    The maximum number of hash table collisions in the rrset cache.
    This is the number of hashes that are identical when a new element is
    inserted in the hash table.
    If the value is very large, like hundreds, something is wrong with the
    performance of the hash table, hash values are incorrect or malicious.


@@@@UAHL@@unbound-control.stats@@dnscrypt_shared_secret.cache.count@@@@
    The number of items in the shared secret cache.
    These are precomputed shared secrets for a given client public key/server
    secret key pair.
    Shared secrets are CPU intensive and this cache allows Unbound to avoid
    recomputing the shared secret when multiple dnscrypt queries are sent from
    the same client.


@@@@UAHL@@unbound-control.stats@@dnscrypt_nonce.cache.count@@@@
    The number of items in the client nonce cache.
    This cache is used to prevent dnscrypt queries replay.
    The client nonce must be unique for each client public key/server secret
    key pair.
    This cache should be able to host QPS * `replay window` interval keys to
    prevent replay of a query during `replay window` seconds.


@@@@UAHL@@unbound-control.stats@@num.query.authzone.up@@@@
    The number of queries answered from auth-zone data, upstream queries.
    These queries would otherwise have been sent (with fallback enabled) to the
    internet, but are now answered from the auth zone.


@@@@UAHL@@unbound-control.stats@@num.query.authzone.down@@@@
    The number of queries for downstream answered from auth-zone data.
    These queries are from downstream clients, and have had an answer from the
    data in the auth zone.


@@@@UAHL@@unbound-control.stats@@num.query.aggressive.NOERROR@@@@
    The number of queries answered using cached NSEC records with NODATA RCODE.
    These queries would otherwise have been sent to the internet, but are now
    answered using cached data.


@@@@UAHL@@unbound-control.stats@@num.query.aggressive.NXDOMAIN@@@@
    The number of queries answered using cached NSEC records with NXDOMAIN
    RCODE.
    These queries would otherwise have been sent to the internet, but are now
    answered using cached data.


@@@@UAHL@@unbound-control.stats@@num.query.subnet@@@@
    Number of queries that got an answer that contained EDNS client subnet
    data.


@@@@UAHL@@unbound-control.stats@@num.query.subnet_cache@@@@
    Number of queries answered from the edns client subnet cache.
    These are counted as cachemiss by the main counters, but hit the client
    subnet specific cache after getting processed by the edns client subnet
    module.


@@@@UAHL@@unbound-control.stats@@num.query.cachedb@@@@
    Number of queries answered from the external cache of cachedb.
    These are counted as cachemiss by the main counters, but hit the cachedb
    external cache after getting processed by the cachedb module.

@@@@UAHL@@unbound-control.stats@@num.rpz.action@@@@.<rpz_action>
    Number of queries answered using configured RPZ policy, per RPZ action
    type.
    Possible actions are: nxdomain, nodata, passthru, drop, tcp-only,
    local-data, disabled, and cname-override.

Files
-----

@@ub_conf_file@@
    Unbound configuration file.

@@UNBOUND_RUN_DIR@@
    directory with private keys (:file:`unbound_server.key` and
    :file:`unbound_control.key`) and self-signed certificates
    (:file:`unbound_server.pem` and :file:`unbound_control.pem`).

See Also
--------

:doc:`unbound.conf(5)</manpages/unbound.conf>`,
:doc:`unbound(8)</manpages/unbound>`.
@


1.1.1.1
log
@Import unbound 1.24.2 (previous was 1.23.1)

Unbound 1.24.2 Latest
This security release has additional fixes for CVE-2025-11411.

Promiscuous NS RRSets that complement DNS replies in the authority
section can be used to trick resolvers to update their delegation
information for the zone.

The CVE is described here
https://nlnetlabs.nl/downloads/unbound/CVE-2025-11411.txt

Unbound 1.24.1 included a fix that scrubs unsolicited NS RRSets (and
their respective address records) from replies mitigating the possible
poison effect.

Unbound 1.24.2 includes an additional fix that scrubs unsolicited NS
RRSets (and their respective address records) from YXDOMAIN and
non-referral nodata replies as well, mitigating the possible poison
effect.

We would like to thank TaoFei Guo from Peking University, Yang Luo and
JianJun Chen from Tsinghua University for discovering and responsibly
disclosing the partial mitigation of CVE-2025-11411 in Unbound 1.24.1.

Bug Fixes:

Additional fix for CVE-2025-11411 (possible domain hijacking attack),
to include YXDOMAIN and non-referral nodata answers in the mitigation
as well, reported by TaoFei Guo from Peking University, Yang Luo and
JianJun Chen from Tsinghua University.
Assets
2
Source code
(zip)
Nov 26, 2025
Source code
(tar.gz)
Nov 26, 2025
11 people reacted
Unbound 1.24.1
Oct 22, 2025
@@gthess gthess
 release-1.24.1
 a33f063
Unbound 1.24.1
This security release fixes CVE-2025-11411.

Promiscuous NS RRSets that complement DNS replies in the authority
section can be used to trick resolvers to update their delegation
information for the zone.

The CVE is described here
https://nlnetlabs.nl/downloads/unbound/CVE-2025-11411.txt

We would like to thank Yuxiao Wu, Yunyi Zhang, Baojun Liu and Haixin
Duan from Tsinghua University for discovering and responsibly disclosing
the vulnerability.

Bug Fixes:

Fix CVE-2025-11411 (possible domain hijacking attack), reported by
Yuxiao Wu, Yunyi Zhang, Baojun Liu and Haixin Duan from Tsinghua
University.
Assets
2
10 people reacted
Unbound 1.24.0
Sep 18, 2025
@@wcawijngaards wcawijngaards
 release-1.24.0
 2dd821c
Unbound 1.24.0
Unbound 1.24.0

This release features increased defaults, num.valops statistic,
unbound-control cache_lookup, and bug fixes.

The default value increase for num-queries-per-thread is to make
saturation of the task queue more resource intensive and less
practical. Thanks to Shiming Liu, Network and Information Security
Lab, Tsinghua University for the report.

The default value increase for so-sndbuf is to mitigate a cross-layer
issue where the UDP socket send buffers are exhausted waiting for
ARP/NDP resolution. Thanks to Reflyable for the report.

To help the server start more easily, the setsockopt for sndbuf buffer
size prints a warning instead of a failure to start the server if it
can not set the buffer size.

Various cache -slabs options are auto-configured if not specified
in the config file. It uses a power of two close to the number of
threads. When the option is specified in the config file that value
is used instead.

An extra statistic is added to track the number of signature validation
operations by the validator, num.valops.

The unbound-control cache_lookup command prints cache information for
names in the domain given. This prints similar to dump_cache, but only
names under the zone(s) specified. Because of that it locks the caches
for a much shorter time, and this is good for server responsiveness.

The sock-queue-timeout option is adapted to work on FreeBSD as well
as Linux.

Features

Increase default to num-queries-per-thread: 2048, when unbound is
compiled with libevent. It makes saturation of the task queue more
resource intensive and less practical. Thanks to Shiming Liu,
Network and Information Security Lab, Tsinghua University for the
report.
Merge #1276: Auto-configure '-slabs' values.
Change default for so-sndbuf to 1m, to mitigate a cross-layer
issue where the UDP socket send buffers are exhausted waiting
for ARP/NDP resolution. Thanks to Reflyable for the report.
Adjusted so-sndbuf default to 4m.
Merge #1289 from Roland van Rijswijk-Deij: Add extra statistic to
track the number of signature validation operations.
Adds 'num.valops' to extended statistics.
Fix #1303: [FR] Disable TLSv1.2.
unbound-control cache_lookup prints the cached rrsets
and messages for those.
unbound-control cache_lookup +t allows tld and root names. And
subnet cache contents are printed.
Fix #1319: [FR] zone status for Unbound auth-zones.
Bug Fixes

Fix #1272: assertion failure testcode/unitverify.c:202.
Merge #1275: Use macros for the fr_check_changed* functions.
Fix for parallel build of dnstap protoc-c output.
Fix dnstap to use protoc.
Sync unbound and unbound-checkconf log output for unknown modules.
Fix #1281: forward-zone "name: ." conflicts with auth-zone "name: ."
in 1.23.0, but worked in 1.22.0.
Fix #1283: Unsafe usage of atoi() while parsing the configuration
file.
Merge #1280: Fix auth nsec3 code. Fixes NSEC3 code to not break on
broken auth zones that include unsigned out of zone (above apex)
data. Could lead to hang while trying to prove a wildcard answer.
Fix #1284: NULL pointer deref in az_find_nsec_cover() (latent bug)
by adding a log_assert() to safeguard future development.
Fix #1282: log-destaddr fail on long ipv6 addresses.
Fix config of slab values when there is no config file.
Fix for cname chain length with qtype ANY and qname minimisation.
Thanks to Jim Greenwood from Nominet for the report.
Merge #1285: RST man pages. It introduces restructuredText man pages
to sync the online and source code man page documentation.
The templated man pages (*.in) are still part of the repo but
generated with docutils from their .rst counterpart.
Documentation on how to generate those (mainly for core developers)
is in README.man.
Add more checks about respip in unbound-checkconf.
Also fixes #310: unbound-checkconf not reporting RPZ configuration
error.
Fix #1288: [FR] Improve fuzzing of unbound by adapting the netbound
program.
Small manpage corrections for the 'disable-dnssec-lame-check' option.
Fix unbound-anchor certificate file read for line ends and end of
file.
Fix comment for the dname_remove_label_limit_len function.
iana portlist updated.
Fix bitwise operators in conditional expressions with parentheses.
Fix conditional expressions with parentheses for bitwise and.
Fix header return value description for skip_pkt_rrs and
parse_edns_from_query_pkt.
Fix to check control-interface addresses in unbound-checkconf.
Fix #1295: Windows 32-bit binaries download seems to be missing dll
dependency.
Fix for consistent use of local zone CNAME alias for configured auth
zones. Now it also applies to downstream configured auth zones.
Fix #1296: DNS over QUIC depends on a very outdated version of
ngtcp2. Fixed so it works with ngtcp2 1.13.0 and OpenSSL 3.5.0.
Merge #1297: edns-subnet: fix NULL_AFTER_DEREF on subnetmod.
Fix rrset cache create allocation failure case.
Fix #1293: EDE 6 is attached to insecure cached answers when client
sends the CD bit.
Fix #1247: forward-first: ssl handshake failed on root nameservers.
For #1247, turn off fetch-policy for delegation when looking into
parent side name servers that may not update the addresses and hit
NXNS limits.
For #1247, replay test (added tcp_transport to
outnet_serviced_query).
Merge #1299: Fix typos.
Generate ltmain.sh and configure again.
Fix #1300: Is 'sock-queue-timeout' a linux only feature.
For #1300: implement sock-queue-timeout for FreeBSD as well.
Fix layout of comm_point_udp_ancil_callback.
Fix to improve dnstap discovery on Fedora.
Fix detection of SSL_CTX_set_tmp_ecdh function.
For #1301: configure cant find SSL_is_quic in OpenSSL 3.5.1.
For #1289: test num.valops in existing stat_values.tdir.
For #1289: add num.valops in the unbound-control man page.
Add unit tests for non-ecs aggregation.
Fix to not set rlimits in the unit tests.
iana portlist updated.
Redis checks for server down and throttles reconnects.
Fix redis cachedb module gettimeofday init failure.
Fix testbound test program to accurately output packets from hex.
Fix #1309: incorrectly reclaimed tcp handler can cause data
corruption and segfault.
Fix to use assertions for consistency checks in #1309 reclaimed
tcp handlers.
Fix edns subnet, so that the subquery without subnet is stored in
global cache if the querier used 0.0.0.0/0 and the name and address
do not receive subnet treatment. If the name and address are
configured for subnet, it is stored in the subnet cache.
Fix dname_str for printout of long names. Thanks to Jan Komissar
for the fix.
Fix that edns-subnet failure to create a subquery errors as
servfail, and not formerror.
Fix to whitespace in dname_str.
Fix that unbound-control dump_cache releases the cache locks
every so often, so that the server stays responsive.
Fix to remove debug from cache_lookup.
Fix to unlock cache_lookup message for malformed records.
Fix to increase responsiveness of dump_cache.
Fix to decouple file descriptor activity and cache lookups in
dump_cache.
Fix cache_lookup subnet printout to wipe zero part of the prefix.
Fix cache_lookup subnet print to not print messages without rrsets
and perform in-depth check on node in the addrtree.
Fix to check for extraneous command arguments for unbound-control,
when the command takes no arguments but there are arguments present.
Fix #1317: Unbound starts too early. Add
Wants=network-online.target under [Unit] in unbound.service.
Fix for #1317: Fix contrib/unbound.service comment path for
systemd network configuration.
For #1318: Fix compile warnings for DoH compile on windows.
Fix sha1 enable environment variable in test code on windows.
Fix that the zone acquired timestamp is set after the
zonefile is read.
Fix ports workflow to install expat for macos.
Fix unbound-control dump_cache for double unlock of lruhash table.
Fix setup_listen_sslctx warning for nettle compile.
Limit the number of consecutive reads on an HTTP/2 session.
Thanks to Gal Bar Nahum for exposing the possibility of infinite
reads on the session.
Fix for #1324: Fix to free edns options scratch in ratelimit case.
Fix #1235: Outdated Python2 code in
unbound/pythonmod/examples/log.py.
Fix #1324: Memory leak in 'msgparse.c' in
'parse_edns_options_from_query(...)'.
Fix indentation in tcp-mss option parsing.
For #1328: make depend.
Update documentation for using "SET ... EX" in Redis.
Document max buffer sizes for Redis commands.
Update man pages.
Fix #1332: CNAME chains are sometimes not followed when RPZs add a
local CNAME rewrite.
Update contrib/aaaa-filter-iterator.patch so it applies on 1.24.0.
Small debug output improvement when attaching an EDE.
Fix to print warning for when so-sndbuf setsockopt is not granted.
Too many quotes for the EDE message debug printout.
Assets
2
16 people reacted
@
text
@@


1.1.1.2
log
@Import unbound 1.25.1 (previous was 1.24.2)

Bug Fixes

Fix CVE-2026-33278, Possible remote code execution during DNSSEC validation.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.

Fix CVE-2026-42944, Heap overflow and crash with multiple nsid, cookie,
padding EDNS options. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.

Fix CVE-2026-42959, Crash during DNSSEC validation of malicious content. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.

Fix CVE-2026-32792, Packet of death with DNSCrypt. Thanks to Andrew Griffiths
from 'calif.io' for the report.

Fix CVE-2026-40622, "Ghost domain name" variant. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.

Fix CVE-2026-41292, Parsing a long list of incoming EDNS options degrades
performance. Thanks to GitHub user 'N0zoM1z0', also Qifan Zhang from Palo Alto
Networks, for the report.

Fix CVE-2026-42534, Jostle logic bypass degrades resolution performance. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.

Fix CVE-2026-42923, Degradation of service with unbounded NSEC3 hash
calculations. Thanks to Qifan Zhang, Palo Alto Networks, for the report.

Fix CVE-2026-42960, Possible cache poisoning attack while following
delegation. Thanks to TaoFei Guo from Peking University, Yang Luo and JianJun
Chen, Tsinghua University, for the report.

Fix CVE-2026-44390, Unbounded name compression in certain cases causes
degradation of service. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.

Fix CVE-2026-44608, Use after free and crash in RPZ code. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.

For changes to older versions see:

https://nlnetlabs.nl/projects/unbound/download/#unbound-1-25-1
@
text
@a172 2
    :ref:`tls-service-key<unbound.conf.tls-service-key>`.
    :ref:`tls-service-pem<unbound.conf.tls-service-pem>`.
a817 4
@@@@UAHL@@unbound-control.stats@@threadX.num.queries_replyaddr_limit@@@@
    number of queries removed due to replyaddr limits by thread


a895 4
    The counter is increased when during the flood the
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>`
    allows a query to be removed in favor of a new incoming query.
    The older query is then dropped to make space.
a901 6
    The counter is increased when during the flood there is no space
    to be made with the jostle out of an older query, and the new query
    is dropped.
    Since no older queries are removed, see
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>` setting, there
    is no space for the new query.
a912 6
@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.replies@@@@
    Current count of the number of reply entries waiting on request list
    entries. Because a request list entry can send results to multiple reply
    addresses, this number may be larger than the size of the request list.


a957 4
@@@@UAHL@@unbound-control.stats@@total.num.queries_replyaddr_limit@@@@
    summed over threads.


a1029 8
@@@@UAHL@@unbound-control.stats@@total.requestlist.current.user@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.current.replies@@@@
    summed over threads.


@


1.1.1.3
log
@Import unbound-1.26.1 (previous was unbound-1.25.1)

Unbound 1.26.1
==============
This release has a number of security fixes.
The release is signed with the OpenPGP software signing key that is
in use since Jan 1st 2026:
User ID: NLnet Labs releases signing key G2 releases@@nlnetlabs.nl
Key ID: A144 323D EAAC DF45
Fingerprint: 2310 1869 0C4D 903E F419  146A A144 323D EAAC DF45

The key is available from https://nlnetlabs.nl/signing-keys .
This release consolidates security fixes for issues reported over
a period of time. There are fixes for CVE-2026-77860, CVE-2026-77955,
CVE-2026-78227, CVE-2026-80225, CVE-2026-81634, CVE-2026-81642,
CVE-2026-82717, CVE-2026-82720 and CVE-2026-85501.

Bug Fixes
Fix CVE-2026-81642, Heap buffer overflow and possible Remote Code
Execution when digesting DNSKEY. Thanks to Yuqi Qiu and Xiang Li
from Nankai University, AOSP Lab for the report.
Fix CVE-2026-81634, Possible heap buffer overflow during DNSSEC
canonicalization. Thanks to Vlatko Kosturjak with Marlink Cyber,
for the report.
Fix CVE-2026-82717, CNAME synthesis could lead to heap corruption.
Thanks to Ben Morris from Anthropic for the report.
Fix CVE-2026-77955, Possible ZONEMD verification bypass window.
Thanks to Yuqi Qiu and Xiang Li from Nankai University, AOSP Lab,
for the report. In addition, thanks to Qifan Zhang from Palo Alto
Networks for also reporting this issue.
Fix CVE-2026-78227, Use-after-free in DoQ stream output buffer on
reset re-transmission. Thanks to Yuqi Qiu and Xiang Li from Nankai
University, AOSP Lab for the report.
Fix CVE-2026-80225, Possible degradation of service from continuous
queries on the same TCP/DoT connection. Thanks to Qifan Zhang from
Palo Alto Networks for the report.
Fix CVE-2026-82720, Use-after-free in DoH stream cleanup code path.
Thanks to Yuqi Qiu and Xiang Li from Nankai University, AOSP Lab,
for the report.
Fix CVE-2026-85501, Retrap: Novel Vulnerabilities to launch
Algorithmic Complexity Attacks on DNSSEC. Thanks to Zuyao Xu and
Xiang Li from Nankai University, AOSP Lab for the report. In
addition, thanks to Qifan Zhang from Palo Alto Networks for a
complimentary report.
Fix CVE-2026-77860, 'serve-expired' can bypass Unbound 'wait-limit'.
Thanks to Xuanchao Xie, Lutong Chen, and Kaiping Xue from the
University of Science and Technology of China (USTC) for the
report.

Unbound 1.26.0
==============
This release has some features and a number of bug fixes.
The release is signed with the OpenPGP software signing key that is
in use since Jan 1st 2026:
User ID: NLnet Labs releases signing key G2 releases@@nlnetlabs.nl
Key ID: A144 323D EAAC DF45
Fingerprint: 2310 1869 0C4D 903E F419  146A A144 323D EAAC DF45

The key is available from https://nlnetlabs.nl/signing-keys .
The certificates for the root key are updated. The icannbundle.pem
file is updated with the public keys for 2009 to 2029 and for 2025
to 2045. This is available in the unbound-anchor tool. With the
-l option unbound-anchor lists the builtin key and cert that it
has. The updated certificates are valid for a longer time. With
-c the icannbundle.pem file can be given from the commandline.
Then unbound-anchor does not use the builtin certificates. And
this allows the update of the certificate file without a change
in unbound-anchor.
The ipsecmod module is changed, that the script, for the hook, has
to start with a line like #!/bin/sh. The file is executed with
execv, and not any longer with system, so that it is better for
security. It is an in-depth protection against possible quotation
and buffer failures.
The server continues to start if secondary zones, for auth zones,
fail to load from zonefile. To protects against malformed content
in the zonefiles, and the server continues to serve, and attempt
to fetch new updates for the zone. Also for primary auth zones, if
the zonefile does not exist, the server continues to start up. This
makes the server start more easily. Secondary zones are no longer
allowed to have a $INCLUDE in the zonefile. That is for safety,
for what file is chosen. The server drops out-of-zone content from
auth zones when they are read, those records are not supposed to be
part of the auth zone. The primary hostname that is transferred from,
can now be a name that uses CNAME(s).
The options max-transfer-size and max-transfer-time can be used
to limit the amount of size and time that auth-zone transfers use. The
default is disabled, that is backwards compatible.
The unbound-control command local_data_remove is overloaded to also
work to be able to remove specific records. Specify the record with
its details to remove it.
Apart from the local-zone type block_a, that denies A lookups,
there is now also block_aaaa, it denies AAAA lookups. The local zone
types block_a_wdata and block_aaaa_wdata can be used to also have
local-data, that is served, if it is not there, like transparent, it
lookups recursively, or denies the particular type from lookup. These
are helpful in IPv4 with IPv6 deployment situations, as it forces
applications to not use a particular transport. With the changes to
respip and RPZ processing that make the filters apply equally after
dns64, so that dns64 does not bypass the filter, the new local-zone
types can be used to apply denial of a particular transport.

Features
Update icannbundle.pem certificates in unbound-anchor. It
has the public keys for 2009 to 2029 and for 2025 to 2045.
Fix to add max-transfer-size and max-transfer-time that
limit auth-zone and rpz transfer amount and time taken.
Default is disabled. This hardens against unbounded
transfers. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Merge #1087: Overload local_data_remove to support removing
specific records.
Merge #1433 from jisakiel: Add new static zone type
block_aaaa to suppress AAAA queries.
Fix #1477: respip + dns64: dns64 uses A records modified by
respip instead of original A records. Adds local-zone types
block_a_wdata and block_aaaa_wdata, that are like block_a
and block_aaaa, and uses local-data if present.

Bug Fixes
Fix windows 64bit build for libssp dependency.
iana portlist updated.
Fix for Heap Out-of-Bounds Write via size_t-to-int Truncation
in setup_if() - outside_network_create(). This fixes that
large values for num_ports do not overflow and create
invalid references after integer truncation. Thanks
to Karnakar Reddy (@@karnakarreddi) for the report.
Fix to clean up log ids after a failure to start a worker thread.
Fix to relax assertions after the TTL 0 handling change.
This relaxes an assertion in cachedb (it fails instead),
and for packet_rrset_copy_region.
Fix comment and verbose logging for EDNS fallback buffer size.
Fix man page entry for so-sndbuf, it is for responses sent out.
Fix val_find_DS for robustness, to check the result of
packet_rrset_copy_region before using it. Thanks to Xin Wang
and Jiajia Liu, Northwestern Polytechnical University, for
the report.
Fix that for dns64 answers, the AAAA query is checked to be
DNSSEC validated, when DNSSEC is enabled. This improves
the RFC6147 conformance of Unbound. Thanks to Xin Wang
and Jiajia Liu, Northwestern Polytechnical University, for
the report. In addition, thanks to Qifan Zhang, Palo Alto
Networks, for reporting it.
Fix for allocation-failure hardening of rrset cache wildcard
storage and canonical NSEC owner replacement. Thanks to Xin
Wang and Jiajia Liu, Northwestern Polytechnical University,
for the report.
Fix DNSSEC validation with libnettle for noncanonical RSA
DNSKEYs with leading zeroes for n. Thanks to Xin Wang and
Jiajia Liu, Northwestern Polytechnical University, for
the report.
Fix DNSKEY size calculation for noncanonical RSA DNSKEYs
with leading zeroes for n. Thanks to Xin Wang and Jiajia Liu,
Northwestern Polytechnical University, for the report.
Fix for mixed class referrals, the resolver uses the query
class. Thanks to Xin Wang and Jiajia Liu, Northwestern
Polytechnical University, for the report.
Unit test for CVE-2026-33278.
Unit test for CVE-2026-42944.
Unit test for CVE-2026-42959.
Unit test for CVE-2026-40622.
Unit test for CVE-2026-42960.
Fix in depth for serve-expired responses from cachedb, that it
does not store bogus. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix lame server detection, for selfpointed glue records.
Thanks to Shuhan Zhang, Dan Li, and Baojun Liu from Tsinghua
University for the report.
Fix cleaning up DoH session. The same query can be on multiple
streams in a session. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix for signed same-owner CNAME and ordinary RRset responses.
Thanks to Xin Wang and Jiajia Liu, Northwestern Polytechnical
University, for the report.
Fix for mesh new client and mesh new callback to rollback the
added address, tcp mesh state and callback when there is a failure
to initialize. This fixes the mesh accounting of reply addresses.
Thanks to Xin Wang, Jiapeng Li, and Jiajia Liu, Northwestern
Polytechnical University, for the report
Fix for autotrust state-file line overflow, that can give
hold-down bypass. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix to limit the DSNS per-label walk in the iterator. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
Fix that the ratelimit is decremented on successful
referrals. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
Fix that msgencode insert_query has the correct assertion,
for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix to reset the tcp-timeout before applying a load based
reduction. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
Fix to decrement the per-netblock tcp connection limits, so
it keeps usable. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix manual to document ratelimit, that it is for target
nameservers for a domain, and keeps queries limited. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
Fix, in depth, for respip rewrite of dns64 responses. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
Fix that dns64 with subnetcache does not write ECS scoped
answers to global cache. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
Fix ipset module for name too long checks, race conditions
on local name buffer, and for socket close race condition.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
Fix that validator caps number of ANY RRsets it can
validate, and the wait timer is shortened. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
Fix analyzer warning in mesh_new_client.
Fix #1457: race condition causes segfault when starting
threads.
Fix header_seen detection for trust anchor files, so that it
detects the id line.
Fix unit test to check for new icannbundle.pem.
Fix const as reported by newest compiler warnings.
Fix that the processing of class responses does not have
a heap use-after-free. That could happen if at least two
distinct classes are configured for resolution. Thanks
to Qifan Zhang, Palo Alto Networks for the report.
In addition, thanks to Xin Wang, Jiapeng Li, and Jiajia
Liu, Northwestern Polytechnical University, for also
reporting this.
Fix negative cache to work with NSEC3 records without salt.
Thanks to Xin Wang, Jiapeng Li, and Jiajia Liu, Northwestern
Polytechnical University, for the report.
Fix parse of svcbparam ech, it had incorrect length. Thanks
to Qifan Zhang, Palo Alto Networks for the report.
Fix that quotation and escaping works the same in auth-zone
url content, as in the zonefile read. Thanks to Qifan Zhang,
Palo Alto Networks for the report.
Fix ipset module to use larger domain name buffers, and
check buffer lengths. Thanks to Qifan Zhang, Palo Alto
Networks for the report.
Fix PROXYv2 header read and consume, it checks the header
size. Thanks to Qifan Zhang, Palo Alto Networks for
the report.
Fix negative cach...

Unbound 1.25.2
==============
This release has a number of security fixes.
The release is signed with the OpenPGP software signing key that is
in use since Jan 1st 2026:
User ID: NLnet Labs releases signing key G2 releases@@nlnetlabs.nl
Key ID: A144 323D EAAC DF45
Fingerprint: 2310 1869 0C4D 903E F419  146A A144 323D EAAC DF45

The key is available from https://nlnetlabs.nl/signing-keys .
This release consolidates security fixes for issues reported over
a period of time. There are fixes for CVE-2026-14586, CVE-2026-32665,
CVE-2026-40691, CVE-2026-41637, CVE-2026-42955, CVE-2026-44621,
CVE-2026-44687, CVE-2026-44690, CVE-2026-46582, CVE-2026-50045,
CVE-2026-50046, CVE-2026-50243, CVE-2026-50248, CVE-2026-50251,
CVE-2026-50252, CVE-2026-52863, CVE-2026-54478, CVE-2026-55708,
CVE-2026-55717, CVE-2026-55973, CVE-2026-55990, CVE-2026-55991,
CVE-2026-56416 and CVE-2026-56444.

Bug Fixes
Fix CVE-2026-14586, Assertion in libngtcp2 when under pressure
in high concurrency DNS-over-QUIC environments. Thanks to Kunta
Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
for the report.
Fix CVE-2026-32665, Remote DNS-over-QUIC denial of
service due to quic-size budget bypass. Thanks to N0zoM1z0
(https://github.com/N0zoM1z0) for the report. In addition, thanks to
Kunta Chu, Kaihua Wang, and Jianjun Chen from Tsinghua University,
for also reporting this issue. In addition, thanks to Qifan Zhang,
Palo Alto Networks, for also reporting this issue. In addition,
thanks to Xuanchao Xie, for also reporting this issue.
Fix CVE-2026-40691, Packet of death for DNSCrypt over TCP. Thanks
to Qifan Zhang, Palo Alto Networks, for the report. In addition,
thanks to Trung Nguyen (@@everping) of CyStack, for also reporting
this issue.
Fix CVE-2026-41637, Degradation of resolution service from
improperly accounted client-terminated DNS-over-QUIC queries. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-42955, Extra fix for CVE-2026-40622 to also clamp
the TTL of A/AAAA records disallowing a one-time 'ghost domain'
delegation renewal via glue records. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
Fix CVE-2026-44621, Libunbound applications configured with
'unwanted-reply-threshold' could eventually be abruptly
terminated. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
Fix CVE-2026-44687, Off-by-one error in 'harden-below-nxdomain'
logic can shadow a stub/forward zone by a legitimate parent's
NXDOMAIN. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-44690, Cross-zone wildcard cache poisoning via
RRSIG.labels manipulation. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
Fix CVE-2026-46582, A wildcard replay, as another piece of data,
triggers poisoning in the serve expired reply path. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-50045, 'max-global-quota' reset by DNSSEC validation
restarts. Thanks to Kunjie Shang, University of Science and
Technology of China, for the report.
Fix CVE-2026-50046, Possible heap use-after-free in an error path
when a DoT forwarded query is jostled out. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
Fix CVE-2026-50243, 'response-ip'/'rpz' can rewrite BOGUS answers
instead of returning SERVFAIL. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
Fix CVE-2026-50248, BOGUS configured primary hostname accepted for
XFR in auth/rpz zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix CVE-2026-50251, Attacker supplied 0.0.0.0/:: glue triggers
defensive full-cache flush. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
Fix CVE-2026-50252, Possible cache poisoning attack by mapping
source port population per thread. Thanks to Inbal Schussheim and
Amit Klein, Hebrew University, for the report.
Fix CVE-2026-52863, Memory corruption could lead to crash and
denial of service. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix CVE-2026-54478, DNS Cookie bypass when combined with
proxy-protocol use. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
Fix CVE-2026-55708, Privacy/configuration issue when adding local
data in views through 'unbound-control'. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
Fix CVE-2026-55717, 'serve-expired-client-timeout' and 'response-ip'
CNAME redirect could lead to a crash. Thanks to Qifan Zhang, Palo
Alto Networks, for the report. In addition, thanks to Xin Wang,
Jiapeng Li, and Jiajia Liu, Northwestern Polytechnical University,
for also reporting this issue.
Fix CVE-2026-55973, 'dns-error-reporting: yes' leads to stack buffer
overflow. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-55990, Packet of death for a DNSCrypt misconfigured
Unbound. Thanks to Qifan Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-55991, Remote DNS-over-QUIC (DoQ) flow-control
assertion failure in libngtcp2. Thanks to Qifan Zhang, Palo Alto
Networks, for the report. In addition, thanks to Xuanchao Xie,
for also reporting this issue.
Fix CVE-2026-56416, Possible heap buffer overflow when validator
canonicalizes RDATA that contains domain name. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
Fix CVE-2026-56444, Degradation of resolution service when
'discard-timeout' and 'serve-expired-client-timeout' are combined in
unusual configuration. Thanks to Qifan Zhang, Palo Alto Networks,
for the report. In addition, thanks to Xin Wang, Jiapeng Li,
and Jiajia Liu, Northwestern Polytechnical University, for also
reporting this issue. In addition, thanks to Haruki Oyama (Waseda
University), for also reporting this issue.
@
text
@a349 2
    With a specific RR instead of a domain name, that specific record is
    removed from the local data, and not all the RR data.
@


1.1.1.1.2.1
log
@file unbound-control.rst was added on branch netbsd-11 on 2026-01-23 16:15:20 +0000
@
text
@d1 1375
@


1.1.1.1.2.2
log
@Pull up following revision(s) (requested by gutteridge in ticket #162):

	distrib/sets/lists/debug/shl.mi: revision 1.385
	distrib/sets/lists/base/shl.mi: revision 1.1027
	external/bsd/unbound/dist/doc/README.man        up to 1.1.1.1
	external/bsd/unbound/dist/doc/libunbound.rst    up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound-anchor.rst up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound-checkconf.rst up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound-control.rst up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound-host.rst  up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound.conf.rst  up to 1.1.1.1
	external/bsd/unbound/dist/doc/unbound.rst       up to 1.1.1.1
	external/bsd/unbound/dist/testcode/doqclient.c  up to 1.1.1.2
	external/bsd/unbound/dist/testcode/unitdoq.c    up to 1.1.1.1
	external/bsd/unbound/dist/testcode/unitinfra.c  up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/view_local_data up to 1.1.1.1
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/view_local_data_remove up to 1.1.1.1
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values_discard_wait_limit.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/acl_interface.tdir/rpz-nx.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/acl_interface.tdir/rpz-one.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/acl_interface.tdir/rpz-two.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_expired.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_expired_client_timeout.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_expired_reply_ttl.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cached_size.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_subnet_change.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_subnet_expired.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_subnet_toecs_timeout.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cachedb_val_expired.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/dns64_prefetch_cache.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dns_error_reporting.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fwd_name_lookup.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_dname_ttl.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_fwdstubauth.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_ghost_grandchild_delegation.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_max_global_quota.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_unverified_glue.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_unverified_glue_fallback.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/local_cnameother.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_clientip_override.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_cname_handle.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_cname_tag.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_nsdname_override.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_nsip_override.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_passthru_clientip.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_qtype_cname.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_val_block.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rrset_use_cached.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_val_bogus.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_val_insecure_delegation.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_ttl_reset.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_val_bogus.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.nsd.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/auth_tls.ub.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/example.com.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/nsd_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/nsd_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/unbound_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls.tdir/unbound_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_scopezero_noedns.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/ttl_max_negative.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/ttl_min_negative.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_cnameqtype_qmin.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_dname_twice.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_dnameqtype.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_dnameqtype_qmin.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_failure_dnskey.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/val_negcache_ttl.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_negcache_ttl_prefetch.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.nsd.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/auth_tls_failcert.ub.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/example.com.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/nsd_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/nsd_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/unbound_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_tls_failcert.tdir/unbound_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cookie_file.tdir/cookie_file.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cookie_file.tdir/cookie_file.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cookie_file.tdir/cookie_file.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cookie_file.tdir/cookie_file.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/cookie_file.tdir/cookie_file.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_nsec3_ent_with_out_of_zone_data.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/doq_downstream.testns up to 1.1.1.1
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/unbound_server.key up to 1.1.1.2
	external/bsd/unbound/dist/testdata/doq_downstream.tdir/unbound_server.pem up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_fwdfirstequaltcp.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/auth1.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/auth2.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.conf2 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.ns1 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.ns2 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_fwd.tdir/fast_reload_fwd.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/auth.nlnetlabs.nl.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/fast_reload_most_options.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/fast_reload_most_options.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/fast_reload_most_options.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/fast_reload_most_options.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/fast_reload_most_options.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/rpz.nlnetlabs.nl.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_thread.tdir/fast_reload_thread.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_thread.tdir/fast_reload_thread.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_thread.tdir/fast_reload_thread.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_thread.tdir/fast_reload_thread.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_thread.tdir/fast_reload_thread.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/log_servfail.tdir/log_servfail.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/log_servfail.tdir/log_servfail.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/log_servfail.tdir/log_servfail.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/log_servfail.tdir/log_servfail.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/log_servfail.tdir/log_servfail.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/after.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/before.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis_replica.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis_replica.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis_replica.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis_replica.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/redis_replica.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/unbound_control.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/unbound_control.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/unbound_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_replica.tdir/unbound_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/example.org.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz.example.com.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz_reload.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz_reload.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz_reload.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz_reload.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_reload.tdir/rpz_reload.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_nsec3_wild_with_out_of_zone_data.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_minimise_chain.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_scrub_promiscuous.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_cname_wild.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_noecs_mult.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_noecs_refused.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_noecs_support.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_scopezero_global.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/after.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/before.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/unbound_control.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/unbound_control.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/unbound_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/redis_reconnect_interval.tdir/unbound_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/subnet_cache_lookup.testns up to 1.1.1.1
	external/bsd/unbound/dist/ax_build_date_epoch.m4 up to 1.1.1.1
	external/bsd/unbound/dist/ax_pkg_swig.m4        up to 1.1.1.1
	external/bsd/unbound/dist/ac_pkg_swig.m4        delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/bad_control.key delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/bad_control.pem delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/bad_server.key delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/bad_server.pem delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.conf delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.dsc delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.post delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.pre delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.test delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/remote-threaded.testns delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/unbound_control.key delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/unbound_control.pem delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/unbound_server.key delete
	external/bsd/unbound/dist/testdata/remote-threaded.tdir/unbound_server.pem delete
	external/bsd/unbound/dist/Makefile.in           up to 1.1.1.10
	external/bsd/unbound/dist/aclocal.m4            up to 1.1.1.6
	external/bsd/unbound/dist/acx_nlnetlabs.m4      up to 1.1.1.6
	external/bsd/unbound/dist/acx_python.m4         up to 1.1.1.6
	external/bsd/unbound/dist/ax_pthread.m4         up to 1.1.1.2
	external/bsd/unbound/dist/config.guess          up to 1.9
	external/bsd/unbound/dist/config.h.in           up to 1.1.1.10
	external/bsd/unbound/dist/config.sub            up to 1.8
	external/bsd/unbound/dist/configure             up to 1.1.1.10
	external/bsd/unbound/dist/configure.ac          up to 1.1.1.10
	external/bsd/unbound/dist/install-sh            up to 1.1.1.5
	external/bsd/unbound/dist/ltmain.sh             up to 1.1.1.3
	external/bsd/unbound/dist/systemd.m4            up to 1.1.1.2
	external/bsd/unbound/dist/cachedb/cachedb.c     up to 1.1.1.9
	external/bsd/unbound/dist/cachedb/cachedb.h     up to 1.1.1.4
	external/bsd/unbound/dist/cachedb/redis.c       up to 1.1.1.5
	external/bsd/unbound/dist/compat/fake-rfc2553.c up to 1.1.1.2
	external/bsd/unbound/dist/compat/malloc.c       up to 1.1.1.3
	external/bsd/unbound/dist/contrib/aaaa-filter-iterator.patch up to 1.1.1.7
	external/bsd/unbound/dist/contrib/rc_d_unbound  up to 1.1.1.2
	external/bsd/unbound/dist/contrib/unbound.init  up to 1.1.1.4
	external/bsd/unbound/dist/contrib/unbound.init_fedora up to 1.1.1.3
	external/bsd/unbound/dist/contrib/unbound.init_yocto up to 1.1.1.2
	external/bsd/unbound/dist/contrib/unbound.service.in up to 1.1.1.8
	external/bsd/unbound/dist/contrib/unbound_portable.service.in up to 1.1.1.2
	external/bsd/unbound/dist/contrib/android/install_expat.sh up to 1.1.1.2
	external/bsd/unbound/dist/contrib/ios/install_expat.sh up to 1.1.1.2
	external/bsd/unbound/dist/daemon/acl_list.c     up to 1.1.1.7
	external/bsd/unbound/dist/daemon/acl_list.h     up to 1.1.1.6
	external/bsd/unbound/dist/daemon/cachedump.c    up to 1.1.1.8
	external/bsd/unbound/dist/daemon/daemon.c       up to 1.1.1.9
	external/bsd/unbound/dist/daemon/daemon.h       up to 1.1.1.6
	external/bsd/unbound/dist/daemon/remote.c       up to 1.1.1.10
	external/bsd/unbound/dist/daemon/remote.h       up to 1.1.1.5
	external/bsd/unbound/dist/daemon/stats.c        up to 1.1.1.10
	external/bsd/unbound/dist/daemon/unbound.c      up to 1.1.1.9
	external/bsd/unbound/dist/daemon/worker.c       up to 1.1.1.10
	external/bsd/unbound/dist/daemon/worker.h       up to 1.1.1.4
	external/bsd/unbound/dist/dns64/dns64.c         up to 1.1.1.9
	external/bsd/unbound/dist/dnstap/dnstap.c       up to 1.1.1.8
	external/bsd/unbound/dist/dnstap/dnstap.h       up to 1.1.1.5
	external/bsd/unbound/dist/dnstap/dnstap.m4      up to 1.1.1.5
	external/bsd/unbound/dist/dnstap/dnstap.proto   up to 1.1.1.4
	external/bsd/unbound/dist/dnstap/dtstream.c     up to 1.1.1.5
	external/bsd/unbound/dist/dnstap/unbound-dnstap-socket.c up to 1.1.1.4
	external/bsd/unbound/dist/doc/Changelog         up to 1.1.1.10
	external/bsd/unbound/dist/doc/README            up to 1.1.1.10
	external/bsd/unbound/dist/doc/example.conf.in   up to 1.1.1.10
	external/bsd/unbound/dist/doc/libunbound.3.in   up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound-anchor.8.in up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound-checkconf.8.in up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound-control.8.in up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound-host.1.in up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound.8.in      up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound.conf.5.in up to 1.1.1.10
	external/bsd/unbound/dist/doc/unbound.doxygen   up to 1.1.1.7
	external/bsd/unbound/dist/dynlibmod/dynlibmod.c up to 1.1.1.3
	external/bsd/unbound/dist/edns-subnet/addrtree.h up to 1.1.1.4
	external/bsd/unbound/dist/edns-subnet/subnetmod.c up to 1.1.1.9
	external/bsd/unbound/dist/edns-subnet/subnetmod.h up to 1.1.1.7
	external/bsd/unbound/dist/ipsecmod/ipsecmod.c   up to 1.1.1.5
	external/bsd/unbound/dist/ipset/ipset.c         up to 1.1.1.4
	external/bsd/unbound/dist/ipset/ipset.h         up to 1.1.1.2
	external/bsd/unbound/dist/iterator/iter_delegpt.c up to 1.1.1.7
	external/bsd/unbound/dist/iterator/iter_delegpt.h up to 1.1.1.8
	external/bsd/unbound/dist/iterator/iter_fwd.c   up to 1.1.1.7
	external/bsd/unbound/dist/iterator/iter_fwd.h   up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_hints.c up to 1.1.1.7
	external/bsd/unbound/dist/iterator/iter_hints.h up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_scrub.c up to 1.1.1.10
	external/bsd/unbound/dist/iterator/iter_utils.c up to 1.1.1.9
	external/bsd/unbound/dist/iterator/iter_utils.h up to 1.1.1.8
	external/bsd/unbound/dist/iterator/iterator.c   up to 1.1.1.10
	external/bsd/unbound/dist/iterator/iterator.h   up to 1.1.1.8
	external/bsd/unbound/dist/libunbound/context.c  up to 1.1.1.9
	external/bsd/unbound/dist/libunbound/libunbound.c up to 1.1.1.9
	external/bsd/unbound/dist/libunbound/libworker.c up to 1.1.1.10
	external/bsd/unbound/dist/libunbound/unbound.h  up to 1.7
	external/bsd/unbound/dist/libunbound/python/examples/dnssec_test.py up to 1.1.1.3
	external/bsd/unbound/dist/pythonmod/interface.i up to 1.1.1.9
	external/bsd/unbound/dist/pythonmod/pythonmod.c up to 1.1.1.7
	external/bsd/unbound/dist/pythonmod/pythonmod_utils.c up to 1.1.1.6
	external/bsd/unbound/dist/pythonmod/doc/modules/config.rst up to 1.1.1.4
	external/bsd/unbound/dist/pythonmod/examples/log.py up to 1.1.1.3
	external/bsd/unbound/dist/respip/respip.c       up to 1.1.1.7
	external/bsd/unbound/dist/respip/respip.h       up to 1.1.1.6
	external/bsd/unbound/dist/services/authzone.c   up to 1.5
	external/bsd/unbound/dist/services/authzone.h   up to 1.1.1.8
	external/bsd/unbound/dist/services/listen_dnsport.c up to 1.1.1.10
	external/bsd/unbound/dist/services/listen_dnsport.h up to 1.1.1.8
	external/bsd/unbound/dist/services/localzone.c  up to 1.1.1.9
	external/bsd/unbound/dist/services/localzone.h  up to 1.1.1.8
	external/bsd/unbound/dist/services/mesh.c       up to 1.1.1.10
	external/bsd/unbound/dist/services/mesh.h       up to 1.1.1.8
	external/bsd/unbound/dist/services/modstack.c   up to 1.1.1.9
	external/bsd/unbound/dist/services/modstack.h   up to 1.1.1.4
	external/bsd/unbound/dist/services/outside_network.c up to 1.1.1.10
	external/bsd/unbound/dist/services/outside_network.h up to 1.1.1.9
	external/bsd/unbound/dist/services/rpz.c        up to 1.1.1.5
	external/bsd/unbound/dist/services/rpz.h        up to 1.1.1.4
	external/bsd/unbound/dist/services/view.c       up to 1.1.1.4
	external/bsd/unbound/dist/services/view.h       up to 1.1.1.2
	external/bsd/unbound/dist/services/cache/dns.c  up to 1.1.1.9
	external/bsd/unbound/dist/services/cache/dns.h  up to 1.1.1.8
	external/bsd/unbound/dist/services/cache/infra.c up to 1.1.1.8
	external/bsd/unbound/dist/services/cache/infra.h up to 1.1.1.7
	external/bsd/unbound/dist/services/cache/rrset.c up to 1.1.1.7
	external/bsd/unbound/dist/services/cache/rrset.h up to 1.1.1.5
	external/bsd/unbound/dist/sldns/keyraw.c        up to 1.1.1.6
	external/bsd/unbound/dist/sldns/parse.h         up to 1.1.1.4
	external/bsd/unbound/dist/sldns/parseutil.c     up to 1.1.1.5
	external/bsd/unbound/dist/sldns/rrdef.c         up to 1.1.1.7
	external/bsd/unbound/dist/sldns/rrdef.h         up to 1.1.1.7
	external/bsd/unbound/dist/sldns/str2wire.c      up to 1.1.1.9
	external/bsd/unbound/dist/sldns/str2wire.h      up to 1.1.1.6
	external/bsd/unbound/dist/sldns/wire2str.c      up to 1.1.1.8
	external/bsd/unbound/dist/sldns/wire2str.h      up to 1.1.1.8
	external/bsd/unbound/dist/smallapp/unbound-anchor.c up to 1.1.1.9
	external/bsd/unbound/dist/smallapp/unbound-checkconf.c up to 1.1.1.10
	external/bsd/unbound/dist/smallapp/unbound-control-setup.sh.in up to 1.1.1.4
	external/bsd/unbound/dist/smallapp/unbound-control.c up to 1.1.1.10
	external/bsd/unbound/dist/smallapp/unbound-host.c up to 1.1.1.8
	external/bsd/unbound/dist/smallapp/worker_cb.c  up to 1.1.1.7
	external/bsd/unbound/dist/testcode/checklocks.c up to 1.1.1.4
	external/bsd/unbound/dist/testcode/checklocks.h up to 1.1.1.3
	external/bsd/unbound/dist/testcode/do-tests.sh  up to 1.1.1.6
	external/bsd/unbound/dist/testcode/dohclient.c  up to 1.1.1.4
	external/bsd/unbound/dist/testcode/fake_event.c up to 1.1.1.10
	external/bsd/unbound/dist/testcode/mini_tdir.sh up to 1.1.1.5
	external/bsd/unbound/dist/testcode/perf.c       up to 1.1.1.8
	external/bsd/unbound/dist/testcode/petal.c      up to 1.1.1.8
	external/bsd/unbound/dist/testcode/readzone.c   up to 1.1.1.2
	external/bsd/unbound/dist/testcode/replay.c     up to 1.1.1.8
	external/bsd/unbound/dist/testcode/replay.h     up to 1.1.1.7
	external/bsd/unbound/dist/testcode/streamtcp.c  up to 1.1.1.9
	external/bsd/unbound/dist/testcode/testbound.c  up to 1.1.1.9
	external/bsd/unbound/dist/testcode/testpkts.c   up to 1.1.1.10
	external/bsd/unbound/dist/testcode/unitauth.c   up to 1.1.1.7
	external/bsd/unbound/dist/testcode/unitdname.c  up to 1.1.1.4
	external/bsd/unbound/dist/testcode/unitldns.c   up to 1.1.1.5
	external/bsd/unbound/dist/testcode/unitmain.c   up to 1.1.1.10
	external/bsd/unbound/dist/testcode/unitmain.h   up to 1.1.1.4
	external/bsd/unbound/dist/testcode/unitneg.c    up to 1.1.1.5
	external/bsd/unbound/dist/testcode/unitverify.c up to 1.1.1.8
	external/bsd/unbound/dist/testcode/unitzonemd.c up to 1.1.1.3
	external/bsd/unbound/dist/testdata/autotrust_init.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/autotrust_init_ds.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/autotrust_init_sigs.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/autotrust_init_zsk.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/black_data.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/black_prime.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/cachedb_servfail_cname.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/common.sh    up to 1.1.1.5
	external/bsd/unbound/dist/testdata/disable_edns_do.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dns64_lookup.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/domain_insec_ds.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fetch_glue.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/fetch_glue_cname.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/fwd_0ttlservfail.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_cached.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_minimal.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ipsecmod_bogus_ipseckey.crpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/ipsecmod_enabled.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/ipsecmod_ignore_bogus_ipseckey.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/ipsecmod_max_ttl.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/ipsecmod_strict.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/ipsecmod_whitelist.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_class_any.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_cname_minimise_nx.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_cycle_noh.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_dname_insec.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_dname_yx.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_domain_sale.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_domain_sale_nschange.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_emptydp.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_emptydp_for_glue.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_failreply.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_fwdfirst.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_fwdfirstequal.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_fwdstub.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_fwdstubroot.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_ghost_sub.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_ghost_timewindow.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_got6only.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_hint_lame.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_lame_noaa.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_lame_nosoa.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_mod.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_ns_badip.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_ns_spoof.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_nxns_fallback.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_nxns_parentside.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_pc_a.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_pc_aaaa.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_pcdiff.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_pcdirect.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_pcname.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_pcnamech.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_pcnamechrec.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_pcnamerec.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_pcttl.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_prefetch.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_prefetch_change.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_prefetch_change2.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_prefetch_childns.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_prefetch_fail.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_prefetch_ns.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_primenoglue.rpl up to 1.1.1.7
	external/bsd/unbound/dist/testdata/iter_privaddr.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_ranoaa_lame.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_reclame_one.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_reclame_two.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_recurse.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_resolve.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_resolve_minimised.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_resolve_minimised_nx.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_resolve_minimised_refused.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_resolve_minimised_timeout.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_scrub_cname_an.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_scrub_dname_insec.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/iter_scrub_dname_rev.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_scrub_dname_sec.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_scrub_rr_length.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_soamin.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_stub_noroot.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_stubfirst.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/iter_timeout_ra_aaaa.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/local_cname.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/rpz_nsdname.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/rrset_rettl.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/rrset_untrusted.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/rrset_updated.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_nodata.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_nxdomain.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_servfail.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_cached_servfail.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_cached_servfail_refresh.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_no_prefetch.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_servfail.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_reply_ttl.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_ttl.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_ttl_client_timeout.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_zerottl.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_original_ttl.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/subnet_cached.crpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/subnet_cached_servfail.crpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/subnet_global_prefetch.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/subnet_global_prefetch_always_forward.crpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/subnet_global_prefetch_expired.crpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/subnet_global_prefetch_with_client_ecs.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/subnet_max_source.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/subnet_prefetch.crpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/subnet_val_positive.crpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/subnet_val_positive_client.crpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/test_ldnsrr.4 up to 1.1.1.2
	external/bsd/unbound/dist/testdata/test_ldnsrr.5 up to 1.1.1.4
	external/bsd/unbound/dist/testdata/test_ldnsrr.c3 up to 1.1.1.2
	external/bsd/unbound/dist/testdata/test_ldnsrr.c4 up to 1.1.1.2
	external/bsd/unbound/dist/testdata/test_ldnsrr.c5 up to 1.1.1.4
	external/bsd/unbound/dist/testdata/trust_cname_chain.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/ttl_max.rpl  up to 1.1.1.4
	external/bsd/unbound/dist/testdata/ttl_min.rpl  up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_adbit.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_adcopy.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_cnameqtype.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_cnametocnamewctoposwc.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_cnametodnametocnametopos.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_dnametopos.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_dnametoposwc.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_ds_afterprime.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_faildnskey_ok.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_keyprefetch_verify.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_noadwhennodo.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_nsec3_b3_optout.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_nsec3_b3_optout_negcache.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_nsec3_b4_wild.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_nsec3_cnametocnamewctoposwc.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_positive.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_positive_wc.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_qds_badanc.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_qds_oneanc.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_qds_twoanc.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_refer_unsignadd.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_referd.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_referglue.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_rrsig.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_scrub_rr_length.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/val_spurious_ns.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_stub_noroot.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_ta_algo_dnskey.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_ta_algo_dnskey_dp.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_ta_algo_missing_dp.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_twocname.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_unalgo_anchor.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/val_wild_pos.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/views.rpl    up to 1.1.1.4
	external/bsd/unbound/dist/testdata/zonemd.example_a5.zone up to 1.1.1.2
	external/bsd/unbound/dist/testdata/01-doc.tdir/01-doc.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/02-unittest.tdir/02-unittest.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/07-confroot.tdir/07-confroot.pre up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.conf up to 1.1.1.3
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.pre up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.testns up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/local_data up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/local_data_remove up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/local_zones up to 1.1.1.2
	external/bsd/unbound/dist/testdata/09-unbound-control.tdir/local_zones_remove up to 1.1.1.2
	external/bsd/unbound/dist/testdata/acl_interface.tdir/acl_interface.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/acl_interface.tdir/acl_interface.pre up to 1.1.1.2
	external/bsd/unbound/dist/testdata/acl_interface.tdir/acl_interface.test.scenario up to 1.1.1.2
	external/bsd/unbound/dist/testdata/auth_axfr.tdir/auth_axfr.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/auth_https.tdir/auth_https.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/blanks_cached_zone.tdir/blanks_cached_zone.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/blanks_https.tdir/blanks_https.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_no_store.tdir/cachedb_no_store.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_no_store.tdir/cachedb_no_store.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dnstap.tdir/dnstap.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dnstap.tdir/dnstap.post up to 1.1.1.3
	external/bsd/unbound/dist/testdata/dnstap.tdir/dnstap.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/dnstap.tdir/dnstap.testns up to 1.1.1.2
	external/bsd/unbound/dist/testdata/doh_downstream.tdir/doh_downstream.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/doh_downstream_buffer_size.tdir/doh_downstream_buffer_size.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/doh_downstream_notls.tdir/doh_downstream_notls.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/doh_downstream_post.tdir/doh_downstream_post.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ede.tdir/ede-auth.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ede.tdir/ede.conf up to 1.1.1.3
	external/bsd/unbound/dist/testdata/ede.tdir/ede.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_ancil.tdir/fwd_ancil.post up to 1.1.1.4
	external/bsd/unbound/dist/testdata/fwd_ancil.tdir/fwd_ancil.pre up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_ancil.tdir/fwd_ancil.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_bogus.tdir/fwd_bogus.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_capsid.tdir/fwd_capsid.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_capsid_fallback.tdir/fwd_capsid_fallback.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_capsid_strip.tdir/fwd_capsid_strip.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_capsid_white.tdir/fwd_capsid_white.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.conf up to 1.1.1.4
	external/bsd/unbound/dist/testdata/fwd_edns_bksec.tdir/fwd_edns_bksec.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_edns_probe.tdir/fwd_edns_probe.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_malformed.tdir/fwd_malformed.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_no_edns.tdir/fwd_no_edns.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_oneport.tdir/fwd_oneport.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_oneport.tdir/fwd_oneport.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/fwd_tcp.tdir/fwd_tcp.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_tcp_tc.tdir/fwd_tcp_tc.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_three.tdir/fwd_three.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_three.tdir/fwd_three.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_three_service.tdir/fwd_three_service.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_three_service.tdir/fwd_three_service.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_three_service.tdir/fwd_three_service.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_ttlexpire.tdir/fwd_ttlexpire.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_udp.tdir/fwd_udp.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_udp_with_tcp_upstream.tdir/fwd_udp_with_tcp_upstream.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_udptmout.tdir/fwd_udptmout.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_udptmout.tdir/fwd_udptmout.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_waitudp.tdir/fwd_waitudp.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_waitudp.tdir/fwd_waitudp.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_zero.tdir/fwd_zero.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/http_user_agent.tdir/http_user_agent.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ipset.tdir/ipset.pre up to 1.1.1.3
	external/bsd/unbound/dist/testdata/local_nodefault.tdir/local_nodefault.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/local_norec.tdir/local_norec.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/local_nosnoop.tdir/local_nosnoop.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/padding.tdir/padding.post up to 1.1.1.3
	external/bsd/unbound/dist/testdata/padding.tdir/padding.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/pymod.tdir/pymod.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/pymod_thread.tdir/pymod_thread.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/ratelimit.tdir/ratelimit.testns up to 1.1.1.3
	external/bsd/unbound/dist/testdata/root_anchor.tdir/root_anchor.pre up to 1.1.1.2
	external/bsd/unbound/dist/testdata/root_hints.tdir/root_hints.pre up to 1.1.1.2
	external/bsd/unbound/dist/testdata/root_zonemd.tdir/root_zonemd.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ssl_req_order.tdir/ssl_req_order.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/stat_timer.tdir/stat_timer.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.conf up to 1.1.1.4
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.pre up to 1.1.1.3
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.test up to 1.1.1.5
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.testns up to 1.1.1.4
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values_cachedb.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/stub_auth_tc.tdir/stub_auth_tc.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/tcp_req_order.tdir/tcp_req_order.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/tcp_reuse.tdir/tcp_reuse.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/tcp_sigpipe.tdir/tcp_sigpipe.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/tls_reuse.tdir/tls_reuse.post up to 1.1.1.2
	external/bsd/unbound/dist/testdata/zonemd_reload.tdir/zonemd_reload.test up to 1.1.1.2
	external/bsd/unbound/dist/util/alloc.c          up to 1.1.1.5
	external/bsd/unbound/dist/util/config_file.c    up to 1.1.1.10
	external/bsd/unbound/dist/util/config_file.h    up to 1.1.1.10
	external/bsd/unbound/dist/util/configlexer.c    up to 1.1.1.10
	external/bsd/unbound/dist/util/configlexer.lex  up to 1.1.1.10
	external/bsd/unbound/dist/util/configparser.c   up to 1.1.1.10
	external/bsd/unbound/dist/util/configparser.h   up to 1.1.1.10
	external/bsd/unbound/dist/util/configparser.y   up to 1.1.1.10
	external/bsd/unbound/dist/util/edns.c           up to 1.1.1.5
	external/bsd/unbound/dist/util/edns.h           up to 1.1.1.5
	external/bsd/unbound/dist/util/fptr_wlist.c     up to 1.1.1.9
	external/bsd/unbound/dist/util/fptr_wlist.h     up to 1.1.1.6
	external/bsd/unbound/dist/util/iana_ports.inc   up to 1.1.1.10
	external/bsd/unbound/dist/util/locks.h          up to 1.1.1.3
	external/bsd/unbound/dist/util/log.c            up to 1.1.1.8
	external/bsd/unbound/dist/util/log.h            up to 1.1.1.5
	external/bsd/unbound/dist/util/mini_event.c     up to 1.6
	external/bsd/unbound/dist/util/module.c         up to 1.1.1.6
	external/bsd/unbound/dist/util/module.h         up to 1.1.1.8
	external/bsd/unbound/dist/util/net_help.c       up to 1.1.1.10
	external/bsd/unbound/dist/util/net_help.h       up to 1.1.1.9
	external/bsd/unbound/dist/util/netevent.c       up to 1.8
	external/bsd/unbound/dist/util/netevent.h       up to 1.1.1.9
	external/bsd/unbound/dist/util/proxy_protocol.c up to 1.1.1.2
	external/bsd/unbound/dist/util/random.c         up to 1.1.1.4
	external/bsd/unbound/dist/util/siphash.c        up to 1.1.1.2
	external/bsd/unbound/dist/util/tcp_conn_limit.c up to 1.1.1.2
	external/bsd/unbound/dist/util/tcp_conn_limit.h up to 1.1.1.2
	external/bsd/unbound/dist/util/tube.c           up to 1.1.1.6
	external/bsd/unbound/dist/util/ub_event.c       up to 1.1.1.7
	external/bsd/unbound/dist/util/data/dname.c     up to 1.1.1.7
	external/bsd/unbound/dist/util/data/dname.h     up to 1.1.1.7
	external/bsd/unbound/dist/util/data/msgencode.c up to 1.1.1.9
	external/bsd/unbound/dist/util/data/msgencode.h up to 1.1.1.4
	external/bsd/unbound/dist/util/data/msgparse.c  up to 1.1.1.8
	external/bsd/unbound/dist/util/data/msgparse.h  up to 1.1.1.8
	external/bsd/unbound/dist/util/data/msgreply.c  up to 1.1.1.10
	external/bsd/unbound/dist/util/data/msgreply.h  up to 1.1.1.10
	external/bsd/unbound/dist/util/data/packed_rrset.c up to 1.1.1.5
	external/bsd/unbound/dist/util/data/packed_rrset.h up to 1.1.1.6
	external/bsd/unbound/dist/util/shm_side/shm_main.c up to 1.1.1.5
	external/bsd/unbound/dist/util/storage/dnstree.c up to 1.1.1.5
	external/bsd/unbound/dist/util/storage/lookup3.c up to 1.1.1.5
	external/bsd/unbound/dist/util/storage/lruhash.c up to 1.1.1.5
	external/bsd/unbound/dist/util/storage/lruhash.h up to 1.1.1.4
	external/bsd/unbound/dist/util/storage/slabhash.c up to 1.1.1.5
	external/bsd/unbound/dist/util/storage/slabhash.h up to 1.1.1.5
	external/bsd/unbound/dist/validator/autotrust.c up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_anchor.c up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_anchor.h up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_neg.c   up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_neg.h   up to 1.1.1.5
	external/bsd/unbound/dist/validator/val_nsec.c  up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_nsec.h  up to 1.1.1.5
	external/bsd/unbound/dist/validator/val_nsec3.c up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_nsec3.h up to 1.1.1.5
	external/bsd/unbound/dist/validator/val_secalgo.c up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_sigcrypt.c up to 1.1.1.9
	external/bsd/unbound/dist/validator/val_sigcrypt.h up to 1.1.1.5
	external/bsd/unbound/dist/validator/val_utils.c up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_utils.h up to 1.1.1.6
	external/bsd/unbound/dist/validator/validator.c up to 1.1.1.10
	external/bsd/unbound/dist/validator/validator.h up to 1.1.1.7
	external/bsd/unbound/dist/winrc/rsrc_anchorupd.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_svcinst.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_svcuninst.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_unbound.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_unbound_anchor.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_unbound_checkconf.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_unbound_control.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/rsrc_unbound_host.rc up to 1.1.1.2
	external/bsd/unbound/dist/winrc/setup.nsi       up to 1.1.1.4
	external/bsd/unbound/dist/winrc/unbound-control-setup.cmd up to 1.1.1.3
	external/bsd/unbound/dist/winrc/win_svc.c       up to 1.1.1.5
	external/bsd/unbound/include/config.h           up to 1.14
	external/bsd/unbound/lib/libunbound/shlib_version up to 1.8
	external/bsd/unbound/lib/libunbound/unbound.expsym up to 1.3

Import Unbound 1.24.2 (fixes CVE-2025-11411).
@
text
@a0 1375
..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

..
    WHEN EDITING MAKE SURE EACH SENTENCE STARTS ON A NEW LINE

..
    IT HELPS RENDERERS TO DO THE RIGHT THING WRT SPACE

..
    IT HELPS PEOPLE DIFFING THE CHANGES

.. program:: unbound-control

unbound-control(8)
==================

Synopsis
--------

**unbound-control** [``-hq``] [``-c cfgfile``] [``-s server``] command

Description
-----------

``unbound-control`` performs remote administration on the
:doc:`unbound(8)</manpages/unbound>` DNS server.
It reads the configuration file, contacts the Unbound server over TLS sends the
command and displays the result.

The available options are:

.. option:: -h

    Show the version and commandline option help.

.. option:: -c <cfgfile>

    The config file to read with settings.
    If not given the default config file
    :file:`@@ub_conf_file@@` is used.

.. option:: -s <server[@@port]>

    IPv4 or IPv6 address of the server to contact.
    If not given, the address is read from the config file.

.. option:: -q

    Quiet, if the option is given it does not print anything if it works ok.

Commands
--------

There are several commands that the server understands.


@@@@UAHL@@unbound-control.commands@@start@@@@
    Start the server.
    Simply execs :doc:`unbound(8)</manpages/unbound>`.
    The ``unbound`` executable is searched for in the **PATH** set in the
    environment.
    It is started with the config file specified using :option:`-c` or the
    default config file.


@@@@UAHL@@unbound-control.commands@@stop@@@@
    Stop the server.
    The server daemon exits.


@@@@UAHL@@unbound-control.commands@@reload@@@@
    Reload the server.
    This flushes the cache and reads the config file fresh.


@@@@UAHL@@unbound-control.commands@@reload_keep_cache@@@@
    Reload the server but try to keep the RRset and message cache if
    (re)configuration allows for it.
    That means the caches sizes and the number of threads must not change
    between reloads.


@@@@UAHL@@unbound-control.commands@@fast_reload@@@@ [``+dpv``]
    Reload the server, but keep downtime to a minimum, so that user queries
    keep seeing service.
    This needs the code compiled with threads.
    The config is loaded in a thread, and prepared, then it briefly pauses the
    existing server and updates config options.
    The intent is that the pause does not impact the service of user queries.
    The cache is kept.
    Also user queries worked on are kept and continue, but with the new config
    options.

    .. note::
        This command is experimental at this time.

    The amount of temporal memory needed during a fast_reload is twice the
    amount needed for configuration.
    This is because Unbound temporarily needs to store both current
    configuration values and new ones while trying to fast_reload.
    Zones loaded from disk (authority zones and RPZ zones) are included in such
    memory needs.

    Options that can be changed are for
    :ref:`forwards<unbound.conf.forward>`,
    :ref:`stubs<unbound.conf.stub>`,
    :ref:`views<unbound.conf.view>`,
    :ref:`authority zones<unbound.conf.auth>`,
    :ref:`RPZ zones<unbound.conf.rpz>` and
    :ref:`local zones<unbound.conf.local-zone>`.

    Also
    :ref:`access-control<unbound.conf.access-control>` and similar options,
    :ref:`interface-action<unbound.conf.interface-action>` and similar
    options and
    :ref:`tcp-connection-limit<unbound.conf.tcp-connection-limit>`.
    It can reload some
    :ref:`define-tag<unbound.conf.define-tag>`
    changes, more on that below.
    Further options include
    :ref:`insecure-lan-zones<unbound.conf.insecure-lan-zones>`,
    :ref:`domain-insecure<unbound.conf.domain-insecure>`,
    :ref:`trust-anchor-file<unbound.conf.trust-anchor-file>`,
    :ref:`trust-anchor<unbound.conf.trust-anchor>`,
    :ref:`trusted-keys-file<unbound.conf.trusted-keys-file>`,
    :ref:`auto-trust-anchor-file<unbound.conf.auto-trust-anchor-file>`,
    :ref:`edns-client-string<unbound.conf.edns-client-string>`,
    ipset,
    :ref:`log-identity<unbound.conf.log-identity>`,
    :ref:`infra-cache-numhosts<unbound.conf.infra-cache-numhosts>`,
    :ref:`msg-cache-size<unbound.conf.msg-cache-size>`,
    :ref:`rrset-cache-size<unbound.conf.rrset-cache-size>`,
    :ref:`key-cache-size<unbound.conf.key-cache-size>`,
    :ref:`ratelimit-size<unbound.conf.ratelimit-size>`,
    :ref:`neg-cache-size<unbound.conf.neg-cache-size>`,
    :ref:`num-queries-per-thread<unbound.conf.num-queries-per-thread>`,
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>`,
    :ref:`use-caps-for-id<unbound.conf.use-caps-for-id>`,
    :ref:`unwanted-reply-threshold<unbound.conf.unwanted-reply-threshold>`,
    :ref:`tls-use-sni<unbound.conf.tls-use-sni>`,
    :ref:`outgoing-tcp-mss<unbound.conf.outgoing-tcp-mss>`,
    :ref:`ip-dscp<unbound.conf.ip-dscp>`,
    :ref:`max-reuse-tcp-queries<unbound.conf.max-reuse-tcp-queries>`,
    :ref:`tcp-reuse-timeout<unbound.conf.tcp-reuse-timeout>`,
    :ref:`tcp-auth-query-timeout<unbound.conf.tcp-auth-query-timeout>`,
    :ref:`delay-close<unbound.conf.delay-close>`.
    :ref:`iter-scrub-promiscuous<unbound.conf.iter-scrub-promiscuous>`.

    It does not work with
    :ref:`interface<unbound.conf.interface>` and
    :ref:`outgoing-interface<unbound.conf.outgoing-interface>` changes,
    also not with
    :ref:`remote control<unbound.conf.remote>`,
    :ref:`outgoing-port-permit<unbound.conf.outgoing-port-permit>`,
    :ref:`outgoing-port-avoid<unbound.conf.outgoing-port-avoid>`,
    :ref:`msg-buffer-size<unbound.conf.msg-buffer-size>`,
    any **\*-slabs** options and
    :ref:`statistics-interval<unbound.conf.statistics-interval>` changes.

    For :ref:`dnstap<unbound.conf.dnstap>` these options can be changed:
    :ref:`dnstap-log-resolver-query-messages<unbound.conf.dnstap.dnstap-log-resolver-query-messages>`,
    :ref:`dnstap-log-resolver-response-messages<unbound.conf.dnstap.dnstap-log-resolver-response-messages>`,
    :ref:`dnstap-log-client-query-messages<unbound.conf.dnstap.dnstap-log-client-query-messages>`,
    :ref:`dnstap-log-client-response-messages<unbound.conf.dnstap.dnstap-log-client-response-messages>`,
    :ref:`dnstap-log-forwarder-query-messages<unbound.conf.dnstap.dnstap-log-forwarder-query-messages>` and
    :ref:`dnstap-log-forwarder-response-messages<unbound.conf.dnstap.dnstap-log-forwarder-response-messages>`.

    It does not work with these options:
    :ref:`dnstap-enable<unbound.conf.dnstap.dnstap-enable>`,
    :ref:`dnstap-bidirectional<unbound.conf.dnstap.dnstap-bidirectional>`,
    :ref:`dnstap-socket-path<unbound.conf.dnstap.dnstap-socket-path>`,
    :ref:`dnstap-ip<unbound.conf.dnstap.dnstap-ip>`,
    :ref:`dnstap-tls<unbound.conf.dnstap.dnstap-tls>`,
    :ref:`dnstap-tls-server-name<unbound.conf.dnstap.dnstap-tls-server-name>`,
    :ref:`dnstap-tls-cert-bundle<unbound.conf.dnstap.dnstap-tls-cert-bundle>`,
    :ref:`dnstap-tls-client-key-file<unbound.conf.dnstap.dnstap-tls-client-key-file>` and
    :ref:`dnstap-tls-client-cert-file<unbound.conf.dnstap.dnstap-tls-client-cert-file>`.

    The options
    :ref:`dnstap-send-identity<unbound.conf.dnstap.dnstap-send-identity>`,
    :ref:`dnstap-send-version<unbound.conf.dnstap.dnstap-send-version>`,
    :ref:`dnstap-identity<unbound.conf.dnstap.dnstap-identity>`, and
    :ref:`dnstap-version<unbound.conf.dnstap.dnstap-version>` can be loaded
    when ``+p`` is not used.

    The ``+v`` option makes the output verbose which includes the time it took
    to do the reload.
    With ``+vv`` it is more verbose which includes the amount of memory that
    was allocated temporarily to perform the reload; this amount of memory can
    be big if the config has large contents.
    In the timing output the 'reload' time is the time during which the server
    was paused.

    The ``+p`` option makes the reload not pause threads, they keep running.
    Locks are acquired, but items are updated in sequence, so it is possible
    for threads to see an inconsistent state with some options from the old
    and some options from the new config, such as cache TTL parameters from the
    old config and forwards from the new config.
    The stubs and forwards are updated at the same time, so that they are
    viewed consistently, either old or new values together.
    The option makes the reload time take eg. 3 microseconds instead of 0.3
    milliseconds during which the worker threads are interrupted.
    So, the interruption is much shorter, at the expense of some inconsistency.
    After the reload itself, every worker thread is briefly contacted to make
    them release resources, this makes the delete timing a little longer, and
    takes up time from the remote control servicing worker thread.

    With the nopause option (``+p``), the reload does not work to reload some
    options, that fast reload works on without the nopause option:
    :ref:`val-bogus-ttl<unbound.conf.val-bogus-ttl>`,
    :ref:`val-override-date<unbound.conf.val-override-date>`,
    :ref:`val-sig-skew-min<unbound.conf.val-sig-skew-min>`,
    :ref:`val-sig-skew-max<unbound.conf.val-sig-skew-max>`,
    :ref:`val-max-restart<unbound.conf.val-max-restart>`,
    :ref:`val-nsec3-keysize-iterations<unbound.conf.val-nsec3-keysize-iterations>`,
    :ref:`target-fetch-policy<unbound.conf.target-fetch-policy>`,
    :ref:`outbound-msg-retry<unbound.conf.outbound-msg-retry>`,
    :ref:`max-sent-count<unbound.conf.max-sent-count>`,
    :ref:`max-query-restarts<unbound.conf.max-query-restarts>`,
    :ref:`do-not-query-address<unbound.conf.do-not-query-address>`,
    :ref:`do-not-query-localhost<unbound.conf.do-not-query-localhost>`,
    :ref:`private-address<unbound.conf.private-address>`,
    :ref:`private-domain<unbound.conf.private-domain>`,
    :ref:`caps-exempt<unbound.conf.caps-exempt>`,
    :ref:`nat64-prefix<unbound.conf.nat64.nat64-prefix>`,
    :ref:`do-nat64<unbound.conf.nat64.do-nat64>`,
    :ref:`infra-host-ttl<unbound.conf.infra-host-ttl>`,
    :ref:`infra-keep-probing<unbound.conf.infra-keep-probing>`,
    :ref:`ratelimit<unbound.conf.ratelimit>`,
    :ref:`ip-ratelimit<unbound.conf.ip-ratelimit>`,
    :ref:`ip-ratelimit-cookie<unbound.conf.ip-ratelimit-cookie>`,
    :ref:`wait-limit-netblock<unbound.conf.wait-limit-netblock>`,
    :ref:`wait-limit-cookie-netblock<unbound.conf.wait-limit-cookie-netblock>`,
    :ref:`ratelimit-below-domain<unbound.conf.ratelimit-below-domain>`,
    :ref:`ratelimit-for-domain<unbound.conf.ratelimit-for-domain>`.

    The ``+d`` option makes the reload drop queries that the worker threads are
    working on.
    This is like
    :ref:`flush_requestlist<unbound-control.commands.flush_requestlist>`.
    Without it the queries are kept so that users keep getting answers for
    those queries that are currently processed.
    The drop makes it so that queries during the life time of the
    query processing see only old, or only new config options.

    When there are changes to the config tags, from the
    :ref:`define-tag<unbound.conf.define-tag>` option,
    then the ``+d`` option is implicitly turned on with a warning printout, and
    queries are dropped.
    This is to stop references to the old tag information, by the old
    queries.
    If the number of tags is increased in the newly loaded config, by
    adding tags at the end, then the implicit ``+d`` option is not needed.

    For response ip, that is actions associated with IP addresses, and perhaps
    intersected with access control tag and action information, those settings
    are stored with a query when it comes in based on its source IP address.
    The old information is kept with the query until the queries are done.
    This is gone when those queries are resolved and finished, or it is
    possible to flush the requestlist with ``+d``.


@@@@UAHL@@unbound-control.commands@@verbosity@@@@ *number*
    Change verbosity value for logging.
    Same values as the **verbosity:** keyword in
    :doc:`unbound.conf(5)</manpages/unbound.conf>`.
    This new setting lasts until the server is issued a reload (taken from
    config file again), or the next verbosity control command.


@@@@UAHL@@unbound-control.commands@@log_reopen@@@@
    Reopen the logfile, close and open it.
    Useful for logrotation to make the daemon release the file it is logging
    to.
    If you are using syslog it will attempt to close and open the syslog (which
    may not work if chrooted).


@@@@UAHL@@unbound-control.commands@@stats@@@@
    Print statistics.
    Resets the internal counters to zero, this can be controlled using the
    **statistics-cumulative:** config statement.
    Statistics are printed with one ``[name]: [value]`` per line.


@@@@UAHL@@unbound-control.commands@@stats_noreset@@@@
    Peek at statistics.
    Prints them like the stats command does, but does not reset the internal
    counters to zero.


@@@@UAHL@@unbound-control.commands@@status@@@@
    Display server status.
    Exit code 3 if not running (the connection to the port is refused), 1 on
    error, 0 if running.


@@@@UAHL@@unbound-control.commands@@local_zone@@@@ *name type*
    Add new local zone with name and type.
    Like local-zone config statement.
    If the zone already exists, the type is changed to the given argument.


@@@@UAHL@@unbound-control.commands@@local_zone_remove@@@@ *name*
    Remove the local zone with the given name.
    Removes all local data inside it.
    If the zone does not exist, the command succeeds.


@@@@UAHL@@unbound-control.commands@@local_data@@@@ *RR data...*
    Add new local data, the given resource record.
    Like **local-data:** keyword, except for when no covering zone exists.
    In that case this remote control command creates a transparent zone with
    the same name as this record.


@@@@UAHL@@unbound-control.commands@@local_data_remove@@@@ *name*
    Remove all RR data from local name.
    If the name already has no items, nothing happens.
    Often results in NXDOMAIN for the name (in a static zone), but if the name
    has become an empty nonterminal (there is still data in domain names below
    the removed name), NOERROR nodata answers are the result for that name.


@@@@UAHL@@unbound-control.commands@@local_zones@@@@
    Add local zones read from stdin of unbound-control.
    Input is read per line, with name space type on a line.
    For bulk additions.


@@@@UAHL@@unbound-control.commands@@local_zones_remove@@@@
    Remove local zones read from stdin of unbound-control.
    Input is one name per line.
    For bulk removals.


@@@@UAHL@@unbound-control.commands@@local_datas@@@@
    Add local data RRs read from stdin of unbound-control.
    Input is one RR per line.
    For bulk additions.


@@@@UAHL@@unbound-control.commands@@local_datas_remove@@@@
    Remove local data RRs read from stdin of unbound-control.
    Input is one name per line.
    For bulk removals.


@@@@UAHL@@unbound-control.commands@@dump_cache@@@@
    The contents of the cache is printed in a text format to stdout.
    You can redirect it to a file to store the cache in a file.
    Not supported in remote Unbounds in multi-process operation.


@@@@UAHL@@unbound-control.commands@@load_cache@@@@
    The contents of the cache is loaded from stdin.
    Uses the same format as dump_cache uses.
    Loading the cache with old, or wrong data can result in old or wrong data
    returned to clients.
    Loading data into the cache in this way is supported in order to aid with
    debugging.
    Not supported in remote Unbounds in multi-process operation.


@@@@UAHL@@unbound-control.commands@@cache_lookup@@@@ [``+t``] *names*
    Print to stdout the RRsets and messages that are in the cache.
    For every name listed the content at or under the name is printed.
    Several names separated by spaces can be given, each is printed.
    When subnetcache is enabled, also matching entries from the subnet
    cache are printed.

    The ``+t`` option allows tld and root names.
    With it names like 'com' and '.' can be used, but it takes a lot of
    effort to look up in the cache.


@@@@UAHL@@unbound-control.commands@@lookup@@@@ *name*
    Print to stdout the name servers that would be used to look up the name
    specified.


@@@@UAHL@@unbound-control.commands@@flush@@@@ [``+c``] *name*
    Remove the name from the cache.
    Removes the types A, AAAA, NS, SOA, CNAME, DNAME, MX, PTR, SRV, NAPTR,
    SVCB and HTTPS.
    Because that is fast to do.
    Other record types can be removed using **flush_type** or **flush_zone**.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_type@@@@ [``+c``] *name type*
    Remove the name, type information from the cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_zone@@@@ [``+c``] name
    Remove all information at or below the name from the cache.
    The rrsets and key entries are removed so that new lookups will be
    performed.
    This needs to walk and inspect the entire cache, and is a slow operation.
    The entries are set to expired in the implementation of this command (so,
    with serve-expired enabled, it'll serve that information but schedule a
    prefetch for new information).

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_bogus@@@@ [``+c``]
    Remove all bogus data from the cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_negative@@@@ [``+c``]
    Remove all negative data from the cache.
    This is nxdomain answers, nodata answers and servfail answers.
    Also removes bad key entries (which could be due to failed lookups) from
    the dnssec key cache, and iterator last-resort lookup failures from the
    rrset cache.

    The ``+c`` option removes the items also from the cachedb cache.
    If cachedb is in use.


@@@@UAHL@@unbound-control.commands@@flush_stats@@@@
    Reset statistics to zero.


@@@@UAHL@@unbound-control.commands@@flush_requestlist@@@@
    Drop the queries that are worked on.
    Stops working on the queries that the server is working on now.
    The cache is unaffected.
    No reply is sent for those queries, probably making those users request
    again later.
    Useful to make the server restart working on queries with new settings,
    such as a higher verbosity level.


@@@@UAHL@@unbound-control.commands@@dump_requestlist@@@@
    Show what is worked on.
    Prints all queries that the server is currently working on.
    Prints the time that users have been waiting.
    For internal requests, no time is printed.
    And then prints out the module status.
    This prints the queries from the first thread, and not queries that are
    being serviced from other threads.


@@@@UAHL@@unbound-control.commands@@flush_infra@@@@ *all|IP*
    If all then entire infra cache is emptied.
    If a specific IP address, the entry for that address is removed from the
    cache.
    It contains EDNS, ping and lameness data.


@@@@UAHL@@unbound-control.commands@@dump_infra@@@@
    Show the contents of the infra cache.


@@@@UAHL@@unbound-control.commands@@set_option@@@@ *opt: val*
    Set the option to the given value without a reload.
    The cache is therefore not flushed.
    The option must end with a ``':'`` and whitespace must be between the
    option and the value.
    Some values may not have an effect if set this way, the new values are not
    written to the config file, not all options are supported.
    This is different from the set_option call in libunbound, where all values
    work because Unbound has not been initialized.

    The values that work are: statistics-interval, statistics-cumulative,
    do-not-query-localhost,  harden-short-bufsize, harden-large-queries,
    harden-glue, harden-dnssec-stripped, harden-below-nxdomain,
    harden-referral-path,  prefetch, prefetch-key, log-queries, hide-identity,
    hide-version, identity, version, val-log-level, val-log-squelch,
    ignore-cd-flag, add-holddown, del-holddown, keep-missing, tcp-upstream,
    ssl-upstream, max-udp-size, ratelimit, ip-ratelimit, cache-max-ttl,
    cache-min-ttl, cache-max-negative-ttl.


@@@@UAHL@@unbound-control.commands@@get_option@@@@ *opt*
    Get the value of the option.
    Give the option name without a trailing ``':'``.
    The value is printed.
    If the value is ``""``, nothing is printed and the connection closes.
    On error ``'error ...'`` is printed (it gives a syntax error on unknown
    option).
    For some options a list of values, one on each line, is printed.
    The options are shown from the config file as modified with set_option.
    For some options an override may have been taken that does not show up with
    this command, not results from e.g. the verbosity and forward control
    commands.
    Not all options work, see list_stubs, list_forwards, list_local_zones and
    list_local_data for those.


@@@@UAHL@@unbound-control.commands@@list_stubs@@@@
    List the stub zones in use.
    These are printed one by one to the output.
    This includes the root hints in use.


@@@@UAHL@@unbound-control.commands@@list_forwards@@@@
    List the forward zones in use.
    These are printed zone by zone to the output.


@@@@UAHL@@unbound-control.commands@@list_insecure@@@@
    List the zones with domain-insecure.


@@@@UAHL@@unbound-control.commands@@list_local_zones@@@@
    List the local zones in use.
    These are printed one per line with zone type.


@@@@UAHL@@unbound-control.commands@@list_local_data@@@@
    List the local data RRs in use.
    The resource records are printed.


@@@@UAHL@@unbound-control.commands@@insecure_add@@@@ *zone*
    Add a domain-insecure for the given zone, like the statement in
    unbound.conf.
    Adds to the running Unbound without affecting the cache
    contents (which may still be bogus, use flush_zone to remove it), does not
    affect the config file.


@@@@UAHL@@unbound-control.commands@@insecure_remove@@@@ *zone*
    Removes domain-insecure for the given zone.


@@@@UAHL@@unbound-control.commands@@forward_add@@@@ [``+it``] *zone addr ...*
    Add a new forward zone to running Unbound.
    With ``+i`` option also adds a domain-insecure for the zone (so it can
    resolve insecurely if you have a DNSSEC root trust anchor configured for
    other names).
    The addr can be IP4, IP6 or nameserver names, like forward-zone config in
    unbound.conf.
    The ``+t`` option sets it to use TLS upstream, like
    :ref:`forward-tls-upstream: yes<unbound.conf.forward.forward-tls-upstream>`.


@@@@UAHL@@unbound-control.commands@@forward_remove@@@@ [``+i``] *zone*
    Remove a forward zone from running Unbound.
    The ``+i`` also removes a domain-insecure for the zone.


@@@@UAHL@@unbound-control.commands@@stub_add@@@@ [``+ipt``] *zone addr ...*
    Add a new stub zone to running Unbound.
    With ``+i`` option also adds a domain-insecure for the zone.
    With ``+p`` the stub zone is set to prime, without it it is set to
    notprime.
    The addr can be IP4, IP6 or nameserver names, like the **stub-zone:**
    config in unbound.conf.
    The ``+t`` option sets it to use TLS upstream, like
    :ref:`stub-tls-upstream: yes<unbound.conf.stub.stub-tls-upstream>`.


@@@@UAHL@@unbound-control.commands@@stub_remove@@@@ [``+i``] *zone*
    Remove a stub zone from running Unbound.
    The ``+i`` also removes a domain-insecure for the zone.


@@@@UAHL@@unbound-control.commands@@forward@@@@ [*off* | *addr ...* ]
    Setup forwarding mode.
    Configures if the server should ask other upstream nameservers, should go
    to the internet root nameservers itself, or show the current config.
    You could pass the nameservers after a DHCP update.

    Without arguments the current list of addresses used to forward all queries
    to is printed.
    On startup this is from the forward-zone ``"."`` configuration.
    Afterwards it shows the status.
    It prints off when no forwarding is used.

    If off is passed, forwarding is disabled and the root nameservers are
    used.
    This can be used to avoid to avoid buggy or non-DNSSEC supporting
    nameservers returned from DHCP.
    But may not work in hotels or hotspots.

    If one or more IPv4 or IPv6 addresses are given, those are then used to
    forward queries to.
    The addresses must be separated with spaces.
    With ``'@@port'`` the port number can be set explicitly (default port is 53
    (DNS)).

    By default the forwarder information from the config file for the root
    ``"."`` is used.
    The config file is not changed, so after a reload these changes are gone.
    Other forward zones from the config file are not affected by this command.


@@@@UAHL@@unbound-control.commands@@ratelimit_list@@@@ [``+a``]
    List the domains that are ratelimited.
    Printed one per line with current estimated qps and qps limit from config.
    With ``+a`` it prints all domains, not just the ratelimited domains, with
    their estimated qps.
    The ratelimited domains return an error for uncached (new) queries, but
    cached queries work as normal.


@@@@UAHL@@unbound-control.commands@@ip_ratelimit_list@@@@ [``+a``]
    List the ip addresses that are ratelimited.
    Printed one per line with current estimated qps and qps limit from config.
    With ``+a`` it prints all ips, not just the ratelimited ips, with their
    estimated qps.
    The ratelimited ips are dropped before checking the cache.


@@@@UAHL@@unbound-control.commands@@list_auth_zones@@@@
    List the auth zones that are configured.
    Printed one per line with a status, indicating if the zone is expired and
    current serial number.
    Configured RPZ zones are included.


@@@@UAHL@@unbound-control.commands@@auth_zone_reload@@@@ *zone*
    Reload the auth zone (or RPZ zone) from zonefile.
    The zonefile is read in overwriting the current contents of the zone in
    memory.
    This changes the auth zone contents itself, not the cache contents.
    Such cache contents exists if you set Unbound to validate with
    **for-upstream: yes** and that can be cleared with **flush_zone** *zone*.


@@@@UAHL@@unbound-control.commands@@auth_zone_transfer@@@@ *zone*
    Transfer the auth zone (or RPZ zone) from master.
    The auth zone probe sequence is started, where the masters are probed to
    see if they have an updated zone (with the SOA serial check).
    And then the zone is transferred for a newer zone version.


@@@@UAHL@@unbound-control.commands@@rpz_enable@@@@ *zone*
    Enable the RPZ zone if it had previously been disabled.


@@@@UAHL@@unbound-control.commands@@rpz_disable@@@@ *zone*
    Disable the RPZ zone.


@@@@UAHL@@unbound-control.commands@@view_list_local_zones@@@@ *view*
    *list_local_zones* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_zone@@@@ *view name type*
    *local_zone* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_zone_remove@@@@ *view name*
    *local_zone_remove* for given view.


@@@@UAHL@@unbound-control.commands@@view_list_local_data@@@@ *view*
    *list_local_data* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_data@@@@ *view RR data...*
    *local_data* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_data_remove@@@@ *view name*
    *local_data_remove* for given view.


@@@@UAHL@@unbound-control.commands@@view_local_datas_remove@@@@ *view*
    Remove a list of *local_data* for given view from stdin.
    Like *local_datas_remove*.


@@@@UAHL@@unbound-control.commands@@view_local_datas@@@@ *view*
    Add a list of *local_data* for given view from stdin.
    Like *local_datas*.


@@@@UAHL@@unbound-control.commands@@add_cookie_secret@@@@ *secret*
    Add or replace a cookie secret persistently.
    *secret* needs to be an 128 bit hex string.

    Cookie secrets can be either **active** or **staging**.
    **Active** cookie secrets are used to create DNS Cookies, but verification
    of a DNS Cookie succeeds with any of the **active** or **staging** cookie
    secrets.
    The state of the current cookie secrets can be printed with the
    :ref:`print_cookie_secrets<unbound-control.commands.print_cookie_secrets>`
    command.

    When there are no cookie secrets configured yet, the *secret* is added as
    **active**.
    If there is already an **active** cookie secret, the *secret* is added as
    **staging** or replacing an existing **staging** secret.

    To "roll" a cookie secret used in an anycast set.
    The new secret has to be added as **staging** secret to **all** nodes in
    the anycast set.
    When **all** nodes can verify DNS Cookies with the new secret, the new
    secret can be activated with the
    :ref:`activate_cookie_secret<unbound-control.commands.activate_cookie_secret>`
    command.
    After **all** nodes have the new secret **active** for at least one hour,
    the previous secret can be dropped with the
    :ref:`drop_cookie_secret<unbound-control.commands.drop_cookie_secret>`
    command.

    Persistence is accomplished by writing to a file which is configured with
    the
    :ref:`cookie-secret-file<unbound.conf.cookie-secret-file>`
    option in the server section of the config file.
    This is disabled by default, "".


@@@@UAHL@@unbound-control.commands@@drop_cookie_secret@@@@
    Drop the **staging** cookie secret.


@@@@UAHL@@unbound-control.commands@@activate_cookie_secret@@@@
    Make the current **staging** cookie secret **active**, and the current
    **active** cookie secret **staging**.


@@@@UAHL@@unbound-control.commands@@print_cookie_secrets@@@@
    Show the current configured cookie secrets with their status.

Exit Code
---------

The ``unbound-control`` program exits with status code 1 on error, 0 on
success.

Set Up
------

The setup requires a self-signed certificate and private keys for both the
server and client.
The script ``unbound-control-setup`` generates these in the default run
directory, or with ``-d`` in another directory.
If you change the access control permissions on the key files you can decide
who can use ``unbound-control``, by default owner and group but not all users.
Run the script under the same username as you have configured in
:file:`unbound.conf` or as root, so that the daemon is permitted to read the
files, for example with:

.. code-block:: bash

    sudo -u unbound unbound-control-setup

If you have not configured a username in :file:`unbound.conf`, the keys need
read permission for the user credentials under which the daemon is started.
The script preserves private keys present in the directory.
After running the script as root, turn on
:ref:`control-enable<unbound.conf.remote.control-enable>` in
:file:`unbound.conf`.

Statistic Counters
------------------

The :ref:`stats<unbound-control.commands.stats>` and
:ref:`stats_noreset<unbound-control.commands.stats_noreset>` commands show a
number of statistic counters:


@@@@UAHL@@unbound-control.stats@@threadX.num.queries@@@@
    number of queries received by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_ip_ratelimited@@@@
    number of queries rate limited by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_valid@@@@
    number of queries with a valid DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_client@@@@
    number of queries with a client part only DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_cookie_invalid@@@@
    number of queries with an invalid DNS Cookie by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_discard_timeout@@@@
    number of queries removed due to discard-timeout by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_wait_limit@@@@
    number of queries removed due to wait-limit by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.cachehits@@@@
    number of queries that were successfully answered using a cache lookup


@@@@UAHL@@unbound-control.stats@@threadX.num.cachemiss@@@@
    number of queries that needed recursive processing


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.crypted@@@@
    number of queries that were encrypted and successfully decapsulated by
    dnscrypt.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.cert@@@@
    number of queries that were requesting dnscrypt certificates.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.cleartext@@@@
    number of queries received on dnscrypt port that were cleartext and not a
    request for certificates.


@@@@UAHL@@unbound-control.stats@@threadX.num.dnscrypt.malformed@@@@
    number of request that were neither cleartext, not valid dnscrypt messages.


@@@@UAHL@@unbound-control.stats@@threadX.num.dns_error_reports@@@@
    number of DNS Error Reports generated by thread


@@@@UAHL@@unbound-control.stats@@threadX.num.prefetch@@@@
    number of cache prefetches performed.
    This number is included in cachehits, as the original query had the
    unprefetched answer from cache, and resulted in recursive processing,
    taking a slot in the requestlist.
    Not part of the recursivereplies (or the histogram thereof) or cachemiss,
    as a cache response was sent.


@@@@UAHL@@unbound-control.stats@@threadX.num.expired@@@@
    number of replies that served an expired cache entry.


@@@@UAHL@@unbound-control.stats@@threadX.num.queries_timed_out@@@@
    number of queries that are dropped because they waited in the UDP socket
    buffer for too long.


@@@@UAHL@@unbound-control.stats@@threadX.query.queue_time_us.max@@@@
    The maximum wait time for packets in the socket buffer, in microseconds.
    This is only reported when
    :ref:`sock-queue-timeout<unbound.conf.sock-queue-timeout>` is enabled.


@@@@UAHL@@unbound-control.stats@@threadX.num.recursivereplies@@@@
    The number of replies sent to queries that needed recursive processing.
    Could be smaller than threadX.num.cachemiss if due to timeouts no replies
    were sent for some queries.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.avg@@@@
    The average number of requests in the internal recursive processing request
    list on insert of a new incoming recursive processing query.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.max@@@@
    Maximum size attained by the internal recursive processing request list.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.overwritten@@@@
    Number of requests in the request list that were overwritten by newer
    entries.
    This happens if there is a flood of queries that recursive processing and
    the server has a hard time.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.exceeded@@@@
    Queries that were dropped because the request list was full.
    This happens if a flood of queries need recursive processing, and the
    server can not keep up.


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.all@@@@
    Current size of the request list, includes internally generated queries
    (such as priming queries and glue lookups).


@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.user@@@@
    Current size of the request list, only the requests from client queries.


@@@@UAHL@@unbound-control.stats@@threadX.recursion.time.avg@@@@
    Average time it took to answer queries that needed recursive processing.
    Note that queries that were answered from the cache are not in this average.


@@@@UAHL@@unbound-control.stats@@threadX.recursion.time.median@@@@
    The median of the time it took to answer queries that needed recursive
    processing.
    The median means that 50% of the user queries were answered in less than
    this time.
    Because of big outliers (usually queries to non responsive servers), the
    average can be bigger than the median.
    This median has been calculated by interpolation from a histogram.


@@@@UAHL@@unbound-control.stats@@threadX.tcpusage@@@@
    The currently held tcp buffers for incoming connections.
    A spot value on the time of the request.
    This helps you spot if the incoming-num-tcp buffers are full.


@@@@UAHL@@unbound-control.stats@@total.num.queries@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_ip_ratelimited@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_valid@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_client@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_cookie_invalid@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_discard_timeout@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_wait_limit@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.cachehits@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.cachemiss@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.crypted@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.cert@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.cleartext@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dnscrypt.malformed@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.dns_error_reports@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.prefetch@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.expired@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.num.queries_timed_out@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.query.queue_time_us.max@@@@
    the maximum of the thread values.


@@@@UAHL@@unbound-control.stats@@total.num.recursivereplies@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.avg@@@@
    averaged over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.max@@@@
    the maximum of the thread requestlist.max values.


@@@@UAHL@@unbound-control.stats@@total.requestlist.overwritten@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.exceeded@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.current.all@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.recursion.time.median@@@@
    averaged over threads.


@@@@UAHL@@unbound-control.stats@@total.tcpusage@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@time.now@@@@
    current time in seconds since 1970.


@@@@UAHL@@unbound-control.stats@@time.up@@@@
    uptime since server boot in seconds.


@@@@UAHL@@unbound-control.stats@@time.elapsed@@@@
    time since last statistics printout, in seconds.

Extended Statistics
-------------------


@@@@UAHL@@unbound-control.stats@@mem.cache.rrset@@@@
    Memory in bytes in use by the RRset cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.message@@@@
    Memory in bytes in use by the message cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.dnscrypt_shared_secret@@@@
    Memory in bytes in use by the dnscrypt shared secrets cache.


@@@@UAHL@@unbound-control.stats@@mem.cache.dnscrypt_nonce@@@@
    Memory in bytes in use by the dnscrypt nonce cache.


@@@@UAHL@@unbound-control.stats@@mem.mod.iterator@@@@
    Memory in bytes in use by the iterator module.


@@@@UAHL@@unbound-control.stats@@mem.mod.validator@@@@
    Memory in bytes in use by the validator module.
    Includes the key cache and negative cache.


@@@@UAHL@@unbound-control.stats@@mem.streamwait@@@@
    Memory in bytes in used by the TCP and TLS stream wait buffers.
    These are answers waiting to be written back to the clients.


@@@@UAHL@@unbound-control.stats@@mem.http.query_buffer@@@@
    Memory in bytes used by the HTTP/2 query buffers.
    Containing (partial) DNS queries waiting for request stream completion.


@@@@UAHL@@unbound-control.stats@@mem.http.response_buffer@@@@
    Memory in bytes used by the HTTP/2 response buffers.
    Containing DNS responses waiting to be written back to the clients.


@@@@UAHL@@unbound-control.stats@@mem.quic@@@@
    Memory in bytes used by QUIC.
    Containing connection information, stream information, queries read and
    responses written back to the clients.

@@@@UAHL@@unbound-control.stats@@histogram@@@@.<sec>.<usec>.to.<sec>.<usec>
    Shows a histogram, summed over all threads.
    Every element counts the recursive queries whose reply time fit between the
    lower and upper bound.
    Times larger or equal to the lowerbound, and smaller than the upper bound.
    There are 40 buckets, with bucket sizes doubling.


@@@@UAHL@@unbound-control.stats@@num.query.type.A@@@@
    The total number of queries over all threads with query type A.
    Printed for the other query types as well, but only for the types for which
    queries were received, thus =0 entries are omitted for brevity.


@@@@UAHL@@unbound-control.stats@@num.query.type.other@@@@
    Number of queries with query types 256-65535.


@@@@UAHL@@unbound-control.stats@@num.query.class.IN@@@@
    The total number of queries over all threads with query class IN
    (internet).
    Also printed for other classes (such as CH (CHAOS) sometimes used for
    debugging), or NONE, ANY, used by dynamic update.
    num.query.class.other is printed for classes 256-65535.


@@@@UAHL@@unbound-control.stats@@num.query.opcode.QUERY@@@@
    The total number of queries over all threads with query opcode QUERY.
    Also printed for other opcodes, UPDATE, ...


@@@@UAHL@@unbound-control.stats@@num.query.tcp@@@@
    Number of queries that were made using TCP towards the Unbound server.


@@@@UAHL@@unbound-control.stats@@num.query.tcpout@@@@
    Number of queries that the Unbound server made using TCP outgoing towards
    other servers.


@@@@UAHL@@unbound-control.stats@@num.query.udpout@@@@
    Number of queries that the Unbound server made using UDP outgoing towards
    other servers.


@@@@UAHL@@unbound-control.stats@@num.query.tls@@@@
    Number of queries that were made using TLS towards the Unbound server.
    These are also counted in num.query.tcp, because TLS uses TCP.


@@@@UAHL@@unbound-control.stats@@num.query.tls.resume@@@@
    Number of TLS session resumptions, these are queries over TLS towards the
    Unbound server where the client negotiated a TLS session resumption key.


@@@@UAHL@@unbound-control.stats@@num.query.https@@@@
    Number of queries that were made using HTTPS towards the Unbound server.
    These are also counted in num.query.tcp and num.query.tls, because HTTPS
    uses TLS and TCP.


@@@@UAHL@@unbound-control.stats@@num.query.quic@@@@
    Number of queries that were made using QUIC towards the Unbound server.
    These are also counted in num.query.tls, because TLS is used for these
    queries.


@@@@UAHL@@unbound-control.stats@@num.query.ipv6@@@@
    Number of queries that were made using IPv6 towards the Unbound server.


@@@@UAHL@@unbound-control.stats@@num.query.flags.RD@@@@
    The number of queries that had the RD flag set in the header.
    Also printed for flags QR, AA, TC, RA, Z, AD, CD.
    Note that queries with flags QR, AA or TC may have been rejected because of
    that.


@@@@UAHL@@unbound-control.stats@@num.query.edns.present@@@@
    number of queries that had an EDNS OPT record present.


@@@@UAHL@@unbound-control.stats@@num.query.edns.DO@@@@
    number of queries that had an EDNS OPT record with the DO (DNSSEC OK) bit
    set.
    These queries are also included in the num.query.edns.present number.


@@@@UAHL@@unbound-control.stats@@num.query.ratelimited@@@@
    The number of queries that are turned away from being send to nameserver
    due to ratelimiting.


@@@@UAHL@@unbound-control.stats@@num.query.dnscrypt.shared_secret.cachemiss@@@@
    The number of dnscrypt queries that did not find a shared secret in the
    cache.
    This can be use to compute the shared secret hitrate.


@@@@UAHL@@unbound-control.stats@@num.query.dnscrypt.replay@@@@
    The number of dnscrypt queries that found a nonce hit in the nonce cache
    and hence are considered a query replay.


@@@@UAHL@@unbound-control.stats@@num.answer.rcode.NXDOMAIN@@@@
    The number of answers to queries, from cache or from recursion, that had
    the return code NXDOMAIN.
    Also printed for the other return codes.


@@@@UAHL@@unbound-control.stats@@num.answer.rcode.nodata@@@@
    The number of answers to queries that had the pseudo return code nodata.
    This means the actual return code was NOERROR, but additionally, no data
    was carried in the answer (making what is called a NOERROR/NODATA answer).
    These queries are also included in the num.answer.rcode.NOERROR number.
    Common for AAAA lookups when an A record exists, and no AAAA.


@@@@UAHL@@unbound-control.stats@@num.answer.secure@@@@
    Number of answers that were secure.
    The answer validated correctly.
    The AD bit might have been set in some of these answers, where the client
    signalled (with DO or AD bit in the query) that they were ready to accept
    the AD bit in the answer.


@@@@UAHL@@unbound-control.stats@@num.answer.bogus@@@@
    Number of answers that were bogus.
    These answers resulted in SERVFAIL to the client because the answer failed
    validation.


@@@@UAHL@@unbound-control.stats@@num.rrset.bogus@@@@
    The number of rrsets marked bogus by the validator.
    Increased for every RRset inspection that fails.


@@@@UAHL@@unbound-control.stats@@num.valops@@@@
    The number of validation operations performed by the validator.
    Increased for every RRSIG verification operation regardless of the
    validation result.
    The RRSIG and key combination needs to first pass some sanity checks before
    Unbound even performs the verification, e.g., length/protocol checks.


@@@@UAHL@@unbound-control.stats@@unwanted.queries@@@@
    Number of queries that were refused or dropped because they failed the
    access control settings.


@@@@UAHL@@unbound-control.stats@@unwanted.replies@@@@
    Replies that were unwanted or unsolicited.
    Could have been random traffic, delayed duplicates, very late answers, or
    could be spoofing attempts.
    Some low level of late answers and delayed duplicates are to be expected
    with the UDP protocol.
    Very high values could indicate a threat (spoofing).


@@@@UAHL@@unbound-control.stats@@msg.cache.count@@@@
    The number of items (DNS replies) in the message cache.


@@@@UAHL@@unbound-control.stats@@rrset.cache.count@@@@
    The number of RRsets in the rrset cache.
    This includes rrsets used by the messages in the message cache, but also
    delegation information.


@@@@UAHL@@unbound-control.stats@@infra.cache.count@@@@
    The number of items in the infra cache.
    These are IP addresses with their timing and protocol support information.


@@@@UAHL@@unbound-control.stats@@key.cache.count@@@@
    The number of items in the key cache.
    These are DNSSEC keys, one item per delegation point, and their validation
    status.


@@@@UAHL@@unbound-control.stats@@msg.cache.max_collisions@@@@
    The maximum number of hash table collisions in the msg cache.
    This is the number of hashes that are identical when a new element is
    inserted in the hash table.
    If the value is very large, like hundreds, something is wrong with the
    performance of the hash table, hash values are incorrect or malicious.


@@@@UAHL@@unbound-control.stats@@rrset.cache.max_collisions@@@@
    The maximum number of hash table collisions in the rrset cache.
    This is the number of hashes that are identical when a new element is
    inserted in the hash table.
    If the value is very large, like hundreds, something is wrong with the
    performance of the hash table, hash values are incorrect or malicious.


@@@@UAHL@@unbound-control.stats@@dnscrypt_shared_secret.cache.count@@@@
    The number of items in the shared secret cache.
    These are precomputed shared secrets for a given client public key/server
    secret key pair.
    Shared secrets are CPU intensive and this cache allows Unbound to avoid
    recomputing the shared secret when multiple dnscrypt queries are sent from
    the same client.


@@@@UAHL@@unbound-control.stats@@dnscrypt_nonce.cache.count@@@@
    The number of items in the client nonce cache.
    This cache is used to prevent dnscrypt queries replay.
    The client nonce must be unique for each client public key/server secret
    key pair.
    This cache should be able to host QPS * `replay window` interval keys to
    prevent replay of a query during `replay window` seconds.


@@@@UAHL@@unbound-control.stats@@num.query.authzone.up@@@@
    The number of queries answered from auth-zone data, upstream queries.
    These queries would otherwise have been sent (with fallback enabled) to the
    internet, but are now answered from the auth zone.


@@@@UAHL@@unbound-control.stats@@num.query.authzone.down@@@@
    The number of queries for downstream answered from auth-zone data.
    These queries are from downstream clients, and have had an answer from the
    data in the auth zone.


@@@@UAHL@@unbound-control.stats@@num.query.aggressive.NOERROR@@@@
    The number of queries answered using cached NSEC records with NODATA RCODE.
    These queries would otherwise have been sent to the internet, but are now
    answered using cached data.


@@@@UAHL@@unbound-control.stats@@num.query.aggressive.NXDOMAIN@@@@
    The number of queries answered using cached NSEC records with NXDOMAIN
    RCODE.
    These queries would otherwise have been sent to the internet, but are now
    answered using cached data.


@@@@UAHL@@unbound-control.stats@@num.query.subnet@@@@
    Number of queries that got an answer that contained EDNS client subnet
    data.


@@@@UAHL@@unbound-control.stats@@num.query.subnet_cache@@@@
    Number of queries answered from the edns client subnet cache.
    These are counted as cachemiss by the main counters, but hit the client
    subnet specific cache after getting processed by the edns client subnet
    module.


@@@@UAHL@@unbound-control.stats@@num.query.cachedb@@@@
    Number of queries answered from the external cache of cachedb.
    These are counted as cachemiss by the main counters, but hit the cachedb
    external cache after getting processed by the cachedb module.

@@@@UAHL@@unbound-control.stats@@num.rpz.action@@@@.<rpz_action>
    Number of queries answered using configured RPZ policy, per RPZ action
    type.
    Possible actions are: nxdomain, nodata, passthru, drop, tcp-only,
    local-data, disabled, and cname-override.

Files
-----

@@ub_conf_file@@
    Unbound configuration file.

@@UNBOUND_RUN_DIR@@
    directory with private keys (:file:`unbound_server.key` and
    :file:`unbound_control.key`) and self-signed certificates
    (:file:`unbound_server.pem` and :file:`unbound_control.pem`).

See Also
--------

:doc:`unbound.conf(5)</manpages/unbound.conf>`,
:doc:`unbound(8)</manpages/unbound>`.
@


1.1.1.1.2.3
log
@Pull up the following revisions, requested by christos in ticket #309:

	external/bsd/unbound/dist/contrib/gost12.patch  up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/127.0.0.1/example.com.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/auth_https_origin.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/auth_https_origin.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/auth_https_origin.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/auth_https_origin.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/auth_https_origin.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/petal.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_https_origin.tdir/petal.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_cached_servfail_timeout.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_notify_lookup.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/dname_unsigned_cname.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/ds_wildcard_cname.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fwd_scrub_rrsig.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_dname_ttl0.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_nat64_donotq.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_priv_svcb.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_scrub_dname_out_of_zone.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_svcb_malformed.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/long_qname.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/respip_dns64_lookup.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_scopezero_bogus.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_scopezero_global_nocache.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/ttl_zero_cacherep.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.conf2 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/tls_reuse_auth.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/unbound_control.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/unbound_control.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/unbound_server.key up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tls_reuse_auth.tdir/unbound_server.pem up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_no_prefetch.rpl delete
	external/bsd/unbound/dist/README.md             up to 1.1.1.5
	external/bsd/unbound/dist/aclocal.m4            up to 1.1.1.7
	external/bsd/unbound/dist/acx_nlnetlabs.m4      up to 1.1.1.7
	external/bsd/unbound/dist/config.h.in           up to 1.1.1.11
	external/bsd/unbound/dist/configure             up to 1.1.1.11
	external/bsd/unbound/dist/configure.ac          up to 1.1.1.11
	external/bsd/unbound/dist/cachedb/cachedb.c     up to 1.1.1.10
	external/bsd/unbound/dist/cachedb/redis.c       up to 1.1.1.6
	external/bsd/unbound/dist/compat/arc4random.c   up to 1.1.1.6
	external/bsd/unbound/dist/compat/chacha_private.h up to 1.1.1.2
	external/bsd/unbound/dist/compat/getentropy_linux.c up to 1.1.1.4
	external/bsd/unbound/dist/compat/gmtime_r.c     up to 1.1.1.2
	external/bsd/unbound/dist/contrib/README        up to 1.1.1.8
	external/bsd/unbound/dist/contrib/unbound.service.in up to 1.1.1.9
	external/bsd/unbound/dist/contrib/unbound_portable.service.in up to 1.1.1.3
	external/bsd/unbound/dist/contrib/ios/install_openssl.sh up to 1.1.1.2
	external/bsd/unbound/dist/contrib/ios/setenv_ios.sh up to 1.1.1.2
	external/bsd/unbound/dist/daemon/daemon.c       up to 1.1.1.10
	external/bsd/unbound/dist/daemon/daemon.h       up to 1.1.1.7
	external/bsd/unbound/dist/daemon/remote.c       up to 1.1.1.11
	external/bsd/unbound/dist/daemon/remote.h       up to 1.1.1.6
	external/bsd/unbound/dist/daemon/stats.c        up to 1.1.1.11
	external/bsd/unbound/dist/daemon/unbound.c      up to 1.1.1.10
	external/bsd/unbound/dist/daemon/worker.c       up to 1.1.1.11
	external/bsd/unbound/dist/dns64/dns64.c         up to 1.1.1.10
	external/bsd/unbound/dist/dnscrypt/dnscrypt.c   up to 1.1.1.6
	external/bsd/unbound/dist/dnstap/dtstream.c     up to 1.1.1.6
	external/bsd/unbound/dist/dnstap/dtstream.h     up to 1.1.1.2
	external/bsd/unbound/dist/dnstap/unbound-dnstap-socket.c up to 1.1.1.5
	external/bsd/unbound/dist/doc/Changelog         up to 1.1.1.11
	external/bsd/unbound/dist/doc/README            up to 1.1.1.11
	external/bsd/unbound/dist/doc/README.DNS64      up to 1.1.1.3
	external/bsd/unbound/dist/doc/README.man        up to 1.1.1.2
	external/bsd/unbound/dist/doc/example.conf.in   up to 1.1.1.11
	external/bsd/unbound/dist/doc/libunbound.3.in   up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound-anchor.8.in up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound-anchor.rst up to 1.1.1.2
	external/bsd/unbound/dist/doc/unbound-checkconf.8.in up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound-control.8.in up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound-control.rst up to 1.1.1.2
	external/bsd/unbound/dist/doc/unbound-host.1.in up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound.8.in      up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound.conf.5.in up to 1.1.1.11
	external/bsd/unbound/dist/doc/unbound.conf.rst  up to 1.1.1.2
	external/bsd/unbound/dist/doc/unbound.rst       up to 1.1.1.2
	external/bsd/unbound/dist/edns-subnet/subnetmod.c up to 1.1.1.10
	external/bsd/unbound/dist/edns-subnet/subnetmod.h up to 1.1.1.8
	external/bsd/unbound/dist/ipsecmod/ipsecmod.c   up to 1.1.1.6
	external/bsd/unbound/dist/iterator/iter_fwd.c   up to 1.1.1.8
	external/bsd/unbound/dist/iterator/iter_hints.c up to 1.1.1.8
	external/bsd/unbound/dist/iterator/iter_priv.c  up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_scrub.c up to 1.1.1.11
	external/bsd/unbound/dist/iterator/iter_utils.c up to 1.1.1.10
	external/bsd/unbound/dist/iterator/iter_utils.h up to 1.1.1.9
	external/bsd/unbound/dist/iterator/iterator.c   up to 1.1.1.11
	external/bsd/unbound/dist/libunbound/unbound.h  up to 1.8
	external/bsd/unbound/dist/libunbound/python/libunbound.i up to 1.1.1.6
	external/bsd/unbound/dist/pythonmod/interface.i up to 1.1.1.10
	external/bsd/unbound/dist/pythonmod/pythonmod.c up to 1.1.1.8
	external/bsd/unbound/dist/respip/respip.c       up to 1.1.1.8
	external/bsd/unbound/dist/services/authzone.c   up to 1.6
	external/bsd/unbound/dist/services/listen_dnsport.c up to 1.1.1.11
	external/bsd/unbound/dist/services/localzone.c  up to 1.1.1.10
	external/bsd/unbound/dist/services/localzone.h  up to 1.1.1.9
	external/bsd/unbound/dist/services/mesh.c       up to 1.1.1.11
	external/bsd/unbound/dist/services/mesh.h       up to 1.1.1.9
	external/bsd/unbound/dist/services/modstack.c   up to 1.1.1.10
	external/bsd/unbound/dist/services/outside_network.c up to 1.1.1.11
	external/bsd/unbound/dist/services/outside_network.h up to 1.1.1.10
	external/bsd/unbound/dist/services/rpz.c        up to 1.1.1.6
	external/bsd/unbound/dist/services/cache/dns.c  up to 1.1.1.10
	external/bsd/unbound/dist/services/cache/dns.h  up to 1.1.1.9
	external/bsd/unbound/dist/services/cache/infra.c up to 1.1.1.9
	external/bsd/unbound/dist/services/cache/rrset.c up to 1.1.1.8
	external/bsd/unbound/dist/sldns/rrdef.h         up to 1.1.1.8
	external/bsd/unbound/dist/sldns/wire2str.c      up to 1.1.1.9
	external/bsd/unbound/dist/smallapp/unbound-anchor.c up to 1.1.1.10
	external/bsd/unbound/dist/smallapp/unbound-checkconf.c up to 1.1.1.11
	external/bsd/unbound/dist/smallapp/unbound-control.c up to 1.1.1.11
	external/bsd/unbound/dist/smallapp/unbound-host.c up to 1.1.1.9
	external/bsd/unbound/dist/testcode/asynclook.c  up to 1.1.1.7
	external/bsd/unbound/dist/testcode/checklocks.h up to 1.1.1.4
	external/bsd/unbound/dist/testcode/dohclient.c  up to 1.1.1.5
	external/bsd/unbound/dist/testcode/doqclient.c  up to 1.1.1.3
	external/bsd/unbound/dist/testcode/mini_tdir.sh up to 1.1.1.6
	external/bsd/unbound/dist/testcode/petal.c      up to 1.1.1.9
	external/bsd/unbound/dist/testcode/pktview.c    up to 1.1.1.2
	external/bsd/unbound/dist/testcode/replay.h     up to 1.1.1.8
	external/bsd/unbound/dist/testcode/streamtcp.c  up to 1.1.1.10
	external/bsd/unbound/dist/testcode/testpkts.c   up to 1.1.1.11
	external/bsd/unbound/dist/testcode/testpkts.h   up to 1.1.1.6
	external/bsd/unbound/dist/testcode/unitldns.c   up to 1.1.1.6
	external/bsd/unbound/dist/testcode/unitmain.c   up to 1.1.1.11
	external/bsd/unbound/dist/testcode/unitmsgparse.c up to 1.1.1.5
	external/bsd/unbound/dist/testcode/unitverify.c up to 1.1.1.9
	external/bsd/unbound/dist/testcode/unitzonemd.c up to 1.1.1.4
	external/bsd/unbound/dist/testdata/cachedb_expired.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_expired_client_timeout.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_expired_reply_ttl.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_subnet_change.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/cachedb_val_expired.crpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_0ttlservfail.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_scrub_promiscuous.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/refuse_xfr.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/rrset_use_cached.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_nodata.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_nxdomain.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_0ttl_servfail.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_client_timeout_servfail.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/serve_expired_reply_ttl.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/serve_expired_ttl_client_timeout.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/serve_expired_ttl_reset.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/serve_expired_zerottl.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/subnet_global_prefetch_always_forward.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/subnet_global_prefetch_expired.crpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/test_ldnsrr.5 up to 1.1.1.5
	external/bsd/unbound/dist/testdata/test_sigs.revoked up to 1.1.1.2
	external/bsd/unbound/dist/testdata/val_ds_cname.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_nsec3_iter_high.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_nx_nsec3_collision.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_nx_nsec3_params.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/04-checkconf.tdir/good.all up to 1.1.1.3
	external/bsd/unbound/dist/testdata/04-checkconf.tdir/good.ifport up to 1.1.1.2
	external/bsd/unbound/dist/testdata/fwd_compress_c00c.tdir/fwd_compress_c00c.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.test up to 1.1.1.6
	external/bsd/unbound/dist/util/alloc.c          up to 1.1.1.6
	external/bsd/unbound/dist/util/config_file.c    up to 1.1.1.11
	external/bsd/unbound/dist/util/config_file.h    up to 1.1.1.11
	external/bsd/unbound/dist/util/configlexer.c    up to 1.1.1.11
	external/bsd/unbound/dist/util/configlexer.lex  up to 1.1.1.11
	external/bsd/unbound/dist/util/configparser.c   up to 1.1.1.11
	external/bsd/unbound/dist/util/configparser.h   up to 1.1.1.11
	external/bsd/unbound/dist/util/configparser.y   up to 1.1.1.11
	external/bsd/unbound/dist/util/fptr_wlist.c     up to 1.1.1.10
	external/bsd/unbound/dist/util/fptr_wlist.h     up to 1.1.1.7
	external/bsd/unbound/dist/util/iana_ports.inc   up to 1.1.1.11
	external/bsd/unbound/dist/util/locks.h          up to 1.1.1.4
	external/bsd/unbound/dist/util/log.c            up to 1.1.1.9
	external/bsd/unbound/dist/util/module.h         up to 1.1.1.9
	external/bsd/unbound/dist/util/net_help.c       up to 1.1.1.11
	external/bsd/unbound/dist/util/net_help.h       up to 1.1.1.10
	external/bsd/unbound/dist/util/netevent.c       up to 1.9
	external/bsd/unbound/dist/util/timehist.h       up to 1.1.1.3
	external/bsd/unbound/dist/util/data/msgencode.c up to 1.1.1.10
	external/bsd/unbound/dist/util/data/msgencode.h up to 1.1.1.5
	external/bsd/unbound/dist/util/data/msgparse.c  up to 1.1.1.9
	external/bsd/unbound/dist/util/data/msgparse.h  up to 1.1.1.9
	external/bsd/unbound/dist/util/data/msgreply.c  up to 1.1.1.11
	external/bsd/unbound/dist/util/data/msgreply.h  up to 1.1.1.11
	external/bsd/unbound/dist/util/data/packed_rrset.c up to 1.1.1.6
	external/bsd/unbound/dist/util/data/packed_rrset.h up to 1.1.1.7
	external/bsd/unbound/dist/util/shm_side/shm_main.c up to 1.1.1.6
	external/bsd/unbound/dist/util/shm_side/shm_main.h up to 1.1.1.2
	external/bsd/unbound/dist/validator/val_neg.c   up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_nsec3.c up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_nsec3.h up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_sigcrypt.c up to 1.1.1.10
	external/bsd/unbound/dist/validator/val_sigcrypt.h up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_utils.c up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_utils.h up to 1.1.1.7
	external/bsd/unbound/dist/validator/validator.c up to 1.1.1.11
	external/bsd/unbound/dist/winrc/win_svc.c       up to 1.1.1.6
	doc/3RDPARTY					(manually edited)

Import unbound 1.25.1
@
text
@a172 2
    :ref:`tls-service-key<unbound.conf.tls-service-key>`.
    :ref:`tls-service-pem<unbound.conf.tls-service-pem>`.
a817 4
@@@@UAHL@@unbound-control.stats@@threadX.num.queries_replyaddr_limit@@@@
    number of queries removed due to replyaddr limits by thread


a895 4
    The counter is increased when during the flood the
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>`
    allows a query to be removed in favor of a new incoming query.
    The older query is then dropped to make space.
a901 6
    The counter is increased when during the flood there is no space
    to be made with the jostle out of an older query, and the new query
    is dropped.
    Since no older queries are removed, see
    :ref:`jostle-timeout<unbound.conf.jostle-timeout>` setting, there
    is no space for the new query.
a912 6
@@@@UAHL@@unbound-control.stats@@threadX.requestlist.current.replies@@@@
    Current count of the number of reply entries waiting on request list
    entries. Because a request list entry can send results to multiple reply
    addresses, this number may be larger than the size of the request list.


a957 4
@@@@UAHL@@unbound-control.stats@@total.num.queries_replyaddr_limit@@@@
    summed over threads.


a1029 8
@@@@UAHL@@unbound-control.stats@@total.requestlist.current.user@@@@
    summed over threads.


@@@@UAHL@@unbound-control.stats@@total.requestlist.current.replies@@@@
    summed over threads.


@


1.1.1.1.2.4
log
@Pull up the following, requested by christos in ticket #510:

	external/bsd/unbound/dist/libunbound/remote.h   up to 1.1.1.1
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/key-setup.sh up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_xfr_host_bogus.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/dns64_dnssec.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/dns64_fwd_nocache.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/dns64_respip_bypass.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/edns_nsid_repeat.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/errreport_agent_domain_len.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fill_reply_uninit.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/ghost_glue_a.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_class_any_merge.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_class_mixreferral.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_dname_ttl0_grace.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_ghost_ns_childapex.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_scrub_mx.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_scrub_ns_min.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_self_glue.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/iter_self_glue_promisc.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/local_block_a.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/nsec_cross_zone.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/respip_bogus_rewrite.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/respip_cname_loop_tagged.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_clientip_passthru_cache.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rpz_clientip_passthru_dns64.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/rrsig_agr_wild.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_respip_cname.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_respip_drop.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_rpz_drop.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_rpz_nx.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/serve_expired_wildcard_swap_ad.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/stop_nxdomain_label.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/sub_ds_deepcopy.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/subnet_dns64_lookup.crpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_any_cap.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_canon_short_px.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_cnameother.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_global_quota.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_negcache_ds_nsec3.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/val_wcnsec_nods.rpl up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.testns up to 1.1.1.1
	external/bsd/unbound/dist/testdata/auth_transfer_limit.tdir/auth_transfer_limit.testns2 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/example.com.zone up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.conf2 up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/fast_reload_authdel.tdir/fast_reload_authdel.testns up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.conf up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.dsc up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.post up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.pre up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.test up to 1.1.1.1
	external/bsd/unbound/dist/testdata/tcp_conn_limit_dec.tdir/tcp_conn_limit_dec.testns up to 1.1.1.1
	external/bsd/unbound/dist/README.md             up to 1.1.1.6
	external/bsd/unbound/dist/ax_pthread.m4         up to 1.1.1.3
	external/bsd/unbound/dist/config.guess          up to 1.10
	external/bsd/unbound/dist/config.h.in           up to 1.1.1.12
	external/bsd/unbound/dist/config.sub            up to 1.9
	external/bsd/unbound/dist/configure             up to 1.1.1.12
	external/bsd/unbound/dist/configure.ac          up to 1.1.1.12
	external/bsd/unbound/dist/cachedb/cachedb.c     up to 1.1.1.11
	external/bsd/unbound/dist/compat/getentropy_osx.c up to 1.1.1.3
	external/bsd/unbound/dist/compat/inet_pton.c    up to 1.1.1.2
	external/bsd/unbound/dist/compat/sha512.c       up to 1.1.1.6
	external/bsd/unbound/dist/daemon/cachedump.c    up to 1.1.1.9
	external/bsd/unbound/dist/daemon/daemon.c       up to 1.1.1.11
	external/bsd/unbound/dist/daemon/daemon.h       up to 1.1.1.8
	external/bsd/unbound/dist/daemon/remote.c       up to 1.1.1.12
	external/bsd/unbound/dist/daemon/remote.h       up to 1.1.1.7
	external/bsd/unbound/dist/daemon/stats.c        up to 1.1.1.12
	external/bsd/unbound/dist/daemon/worker.c       up to 1.1.1.12
	external/bsd/unbound/dist/daemon/worker.h       up to 1.1.1.5
	external/bsd/unbound/dist/dns64/dns64.c         up to 1.1.1.11
	external/bsd/unbound/dist/dnscrypt/dnscrypt.c   up to 1.1.1.7
	external/bsd/unbound/dist/dnscrypt/dnscrypt.h   up to 1.1.1.4
	external/bsd/unbound/dist/dnstap/dnstap.c       up to 1.1.1.9
	external/bsd/unbound/dist/dnstap/dnstap.h       up to 1.1.1.6
	external/bsd/unbound/dist/dnstap/dtstream.c     up to 1.1.1.7
	external/bsd/unbound/dist/dnstap/unbound-dnstap-socket.c up to 1.1.1.6
	external/bsd/unbound/dist/doc/Changelog         up to 1.1.1.12
	external/bsd/unbound/dist/doc/README            up to 1.1.1.12
	external/bsd/unbound/dist/doc/example.conf.in   up to 1.1.1.12
	external/bsd/unbound/dist/doc/libunbound.3.in   up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound-anchor.8.in up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound-checkconf.8.in up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound-control.8.in up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound-control.rst up to 1.1.1.3
	external/bsd/unbound/dist/doc/unbound-host.1.in up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound.8.in      up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound.conf.5.in up to 1.1.1.12
	external/bsd/unbound/dist/doc/unbound.conf.rst  up to 1.1.1.3
	external/bsd/unbound/dist/edns-subnet/addrtree.c up to 1.1.1.5
	external/bsd/unbound/dist/edns-subnet/subnetmod.c up to 1.1.1.11
	external/bsd/unbound/dist/ipsecmod/ipsecmod-whitelist.c up to 1.1.1.2
	external/bsd/unbound/dist/ipsecmod/ipsecmod.c   up to 1.1.1.7
	external/bsd/unbound/dist/ipset/ipset.c         up to 1.1.1.5
	external/bsd/unbound/dist/iterator/iter_delegpt.c up to 1.1.1.8
	external/bsd/unbound/dist/iterator/iter_delegpt.h up to 1.1.1.9
	external/bsd/unbound/dist/iterator/iter_donotq.c up to 1.1.1.2
	external/bsd/unbound/dist/iterator/iter_resptype.c up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_resptype.h up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_scrub.c up to 1.1.1.12
	external/bsd/unbound/dist/iterator/iter_scrub.h up to 1.1.1.3
	external/bsd/unbound/dist/iterator/iter_utils.c up to 1.1.1.11
	external/bsd/unbound/dist/iterator/iter_utils.h up to 1.1.1.10
	external/bsd/unbound/dist/iterator/iterator.c   up to 1.1.1.12
	external/bsd/unbound/dist/iterator/iterator.h   up to 1.1.1.9
	external/bsd/unbound/dist/libunbound/context.h  up to 1.1.1.7
	external/bsd/unbound/dist/libunbound/libunbound.c up to 1.1.1.10
	external/bsd/unbound/dist/libunbound/libworker.c up to 1.1.1.11
	external/bsd/unbound/dist/libunbound/libworker.h up to 1.1.1.4
	external/bsd/unbound/dist/libunbound/worker.h   up to 1.1.1.6
	external/bsd/unbound/dist/pythonmod/interface.i up to 1.1.1.11
	external/bsd/unbound/dist/pythonmod/pythonmod.c up to 1.1.1.9
	external/bsd/unbound/dist/respip/respip.c       up to 1.1.1.9
	external/bsd/unbound/dist/services/authzone.c   up to 1.7
	external/bsd/unbound/dist/services/authzone.h   up to 1.1.1.9
	external/bsd/unbound/dist/services/listen_dnsport.c up to 1.1.1.12
	external/bsd/unbound/dist/services/listen_dnsport.h up to 1.1.1.9
	external/bsd/unbound/dist/services/localzone.c  up to 1.1.1.11
	external/bsd/unbound/dist/services/localzone.h  up to 1.1.1.10
	external/bsd/unbound/dist/services/mesh.c       up to 1.1.1.12
	external/bsd/unbound/dist/services/mesh.h       up to 1.1.1.10
	external/bsd/unbound/dist/services/outside_network.c up to 1.1.1.12
	external/bsd/unbound/dist/services/outside_network.h up to 1.1.1.11
	external/bsd/unbound/dist/services/rpz.c        up to 1.1.1.7
	external/bsd/unbound/dist/services/cache/dns.c  up to 1.1.1.11
	external/bsd/unbound/dist/services/cache/rrset.c up to 1.1.1.9
	external/bsd/unbound/dist/sldns/keyraw.c        up to 1.1.1.7
	external/bsd/unbound/dist/sldns/str2wire.c      up to 1.1.1.10
	external/bsd/unbound/dist/smallapp/unbound-anchor.c up to 1.1.1.11
	external/bsd/unbound/dist/smallapp/unbound-checkconf.c up to 1.1.1.12
	external/bsd/unbound/dist/smallapp/worker_cb.c  up to 1.1.1.8
	external/bsd/unbound/dist/testcode/dohclient.c  up to 1.1.1.6
	external/bsd/unbound/dist/testcode/doqclient.c  up to 1.1.1.4
	external/bsd/unbound/dist/testcode/fake_event.c up to 1.1.1.11
	external/bsd/unbound/dist/testcode/testbound.c  up to 1.1.1.10
	external/bsd/unbound/dist/testcode/unitauth.c   up to 1.1.1.8
	external/bsd/unbound/dist/testcode/unitecs.c    up to 1.1.1.4
	external/bsd/unbound/dist/testcode/unitldns.c   up to 1.1.1.7
	external/bsd/unbound/dist/testcode/unitmain.c   up to 1.1.1.12
	external/bsd/unbound/dist/testcode/unittcpreuse.c up to 1.1.1.3
	external/bsd/unbound/dist/testcode/unitverify.c up to 1.1.1.10
	external/bsd/unbound/dist/testdata/auth_zonemd_xfr_chain_fail.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dns_error_reporting.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/ipsecmod_hook.sh up to 1.1.1.2
	external/bsd/unbound/dist/testdata/iter_prefetch_fail.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/iter_privaddr.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_resolve_minimised.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/iter_svcb_malformed.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/local_ds.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/stop_nxdomain_minimised.rpl up to 1.1.1.2
	external/bsd/unbound/dist/testdata/val_cnametonsec.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_cnametooptin.rpl up to 1.1.1.4
	external/bsd/unbound/dist/testdata/val_ds_cname.rpl up to 1.1.1.7
	external/bsd/unbound/dist/testdata/val_dsnsec.rpl up to 1.1.1.3
	external/bsd/unbound/dist/testdata/val_refer_unsignadd.rpl up to 1.1.1.6
	external/bsd/unbound/dist/testdata/val_referglue.rpl up to 1.1.1.7
	external/bsd/unbound/dist/testdata/val_secds_nosig.rpl up to 1.1.1.5
	external/bsd/unbound/dist/testdata/03-testbound.tdir/03-testbound.test up to 1.1.1.4
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/10-unbound-anchor.conf up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/10-unbound-anchor.test up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/petal.key up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/petal.pem up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/test_cert.key up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/test_cert.pem up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/127.0.0.1/no_more_keys.p7s up to 1.1.1.2
	external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/127.0.0.1/root.p7s up to 1.1.1.2
	external/bsd/unbound/dist/testdata/dnscrypt_cert.tdir/dnscrypt_cert.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/dnscrypt_cert_chacha.tdir/dnscrypt_cert_chacha.test up to 1.1.1.3
	external/bsd/unbound/dist/testdata/root_anchor.tdir/root_anchor.test up to 1.1.1.4
	external/bsd/unbound/dist/testdata/stat_values.tdir/stat_values.test up to 1.1.1.7
	external/bsd/unbound/dist/testdata/svcb.tdir/svcb.success-cases.zone up to 1.1.1.3
	external/bsd/unbound/dist/testdata/svcb.tdir/svcb.success-cases.zone.cmp up to 1.1.1.3
	external/bsd/unbound/dist/util/config_file.c    up to 1.1.1.12
	external/bsd/unbound/dist/util/config_file.h    up to 1.1.1.12
	external/bsd/unbound/dist/util/configlexer.c    up to 1.1.1.12
	external/bsd/unbound/dist/util/configlexer.lex  up to 1.1.1.12
	external/bsd/unbound/dist/util/configparser.c   up to 1.1.1.12
	external/bsd/unbound/dist/util/configparser.h   up to 1.1.1.12
	external/bsd/unbound/dist/util/configparser.y   up to 1.1.1.12
	external/bsd/unbound/dist/util/fptr_wlist.c     up to 1.1.1.11
	external/bsd/unbound/dist/util/fptr_wlist.h     up to 1.1.1.8
	external/bsd/unbound/dist/util/iana_ports.inc   up to 1.1.1.12
	external/bsd/unbound/dist/util/module.h         up to 1.1.1.10
	external/bsd/unbound/dist/util/net_help.c       up to 1.1.1.12
	external/bsd/unbound/dist/util/netevent.c       up to 1.10
	external/bsd/unbound/dist/util/netevent.h       up to 1.1.1.10
	external/bsd/unbound/dist/util/proxy_protocol.c up to 1.1.1.3
	external/bsd/unbound/dist/util/proxy_protocol.h up to 1.1.1.2
	external/bsd/unbound/dist/util/tube.c           up to 1.1.1.7
	external/bsd/unbound/dist/util/data/dname.c     up to 1.1.1.8
	external/bsd/unbound/dist/util/data/msgencode.c up to 1.1.1.11
	external/bsd/unbound/dist/util/data/msgparse.c  up to 1.1.1.10
	external/bsd/unbound/dist/util/data/msgreply.c  up to 1.1.1.12
	external/bsd/unbound/dist/util/data/msgreply.h  up to 1.1.1.12
	external/bsd/unbound/dist/util/data/packed_rrset.c up to 1.1.1.7
	external/bsd/unbound/dist/util/data/packed_rrset.h up to 1.1.1.8
	external/bsd/unbound/dist/util/shm_side/shm_main.c up to 1.1.1.7
	external/bsd/unbound/dist/validator/autotrust.c up to 1.1.1.9
	external/bsd/unbound/dist/validator/autotrust.h up to 1.1.1.4
	external/bsd/unbound/dist/validator/val_anchor.c up to 1.1.1.9
	external/bsd/unbound/dist/validator/val_neg.c   up to 1.1.1.9
	external/bsd/unbound/dist/validator/val_nsec.c  up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_nsec.h  up to 1.1.1.6
	external/bsd/unbound/dist/validator/val_nsec3.c up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_nsec3.h up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_secalgo.c up to 1.1.1.9
	external/bsd/unbound/dist/validator/val_sigcrypt.c up to 1.1.1.11
	external/bsd/unbound/dist/validator/val_sigcrypt.h up to 1.1.1.7
	external/bsd/unbound/dist/validator/val_utils.c up to 1.1.1.8
	external/bsd/unbound/dist/validator/val_utils.h up to 1.1.1.8
	external/bsd/unbound/dist/validator/validator.c up to 1.1.1.12
	external/bsd/unbound/dist/validator/validator.h up to 1.1.1.8
	external/bsd/unbound/include/config.h           up to 1.18
	external/bsd/unbound/lib/libunbound/Makefile    up to 1.10
	external/bsd/unbound/lib/libunbound/shlib_version up to 1.10
	external/bsd/unbound/lib/libunbound/unbound.expsym up to 1.5
	distrib/sets/lists/base/shl.mi				1.1049
	distrib/sets/lists/debug/shl.mi				1.413

Import unbound 1.26.1
@
text
@a349 2
    With a specific RR instead of a domain name, that specific record is
    removed from the local data, and not all the RR data.
@


