]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
document unbound-host config file behaviour.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 13 Feb 2009 15:31:03 +0000 (15:31 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 13 Feb 2009 15:31:03 +0000 (15:31 +0000)
git-svn-id: file:///svn/unbound/trunk@1483 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
doc/unbound-host.1
smallapp/unbound-host.c

index 79d42011dcdf4f23d9de879b99b5484af2c18d4f..2675a31d742b2d8ef334cad063217df3ce5c0fcf 100644 (file)
@@ -3,6 +3,7 @@
          This keeps it read only for speed, with no locking necessary.
        - forward command for unbound control to change forwarders to use
          on the fly.
+       - document that unbound-host reads no config file by default.
 
 12 February 2009: Wouter
        - call setusercontext if available (on BSD).
index 528e75653740b221247777964bc560b96f773c5a..47eca3b34083aa8f3df2c6b0072b7053ec752bd4 100644 (file)
@@ -35,6 +35,10 @@ uses the unbound validating resolver to query for the hostname and display
 results. With the \fB\-v\fR option it displays validation 
 status: secure, insecure, bogus (security failure).
 .P
+By default it reads no configuration file whatsoever.  It attempts to reach
+the internet root servers.  With \fB\-C\fR an unbound config file and with
+\fB\-r\fR resolv.conf can be read.
+.P
 The available options are:
 .TP
 .I hostname
index c3bc1d0c72db0faa2e8c7373226a6e07256be1b1..7fd21e15518e2165a01d0b917272e01e9891694c 100644 (file)
@@ -64,7 +64,7 @@ usage()
        printf("                        -y 'example.com DS 31560 5 1 1CFED8478...'\n");
        printf("    -f keyfile          read trust anchors from file, with lines as -y.\n");
        printf("    -F keyfile          read named.conf-style trust anchors.\n");
-       printf("    -C config           use the specified unbound.conf\n");
+       printf("    -C config           use the specified unbound.conf (none read by default)\n");
        printf("    -r                  read forwarder information from /etc/resolv.conf\n");
        printf("                        breaks validation if the fwder does not do DNSSEC.\n");
        printf("    -v                  be more verbose, shows nodata and security.\n");