]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Documented the options that work with control set_option command.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 22 Aug 2011 13:22:05 +0000 (13:22 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 22 Aug 2011 13:22:05 +0000 (13:22 +0000)
git-svn-id: file:///svn/unbound/trunk@2479 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
doc/unbound-control.8.in

index 21e10cd4af1121aa4e7a063b3b650da0183aba28..1f08205b143c830d248b564fe12186607b9f451a 100644 (file)
@@ -6,6 +6,7 @@
          and it does not follow the CNAME or DNAME to another name (with
          even more data for the already large response).
        - Fix that internally, CNAMEs with NXDOMAIN have that as rcode.
+       - Documented the options that work with control set_option command.
 
 18 August 2011: Wouter
        - fix autoconf call in makedist crosscompile to RC or snapshot.
index 29a4502bce6cfeb5a549c1917f072ddeb21b7543..9d1020c76019a2f4a63874d631021d01bd7d22a1 100644 (file)
@@ -151,17 +151,31 @@ and lameness data.
 Show the contents of the infra cache.
 .TP
 .B set_option \fIopt: 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.
+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 inited.
+.IP
+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.
 .TP
 .B get_option \fIopt
 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.  Not all options are supported.
+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.
 .TP
 .B list_stubs
 List the stub zones in use.  These are printed one by one to the output.