From: Wouter Wijngaards Date: Fri, 13 Feb 2009 15:31:03 +0000 (+0000) Subject: document unbound-host config file behaviour. X-Git-Tag: release-1.3.0~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=340eb440da089e8f410c4df37270f9de74cfb381;p=thirdparty%2Funbound.git document unbound-host config file behaviour. git-svn-id: file:///svn/unbound/trunk@1483 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 79d42011d..2675a31d7 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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). diff --git a/doc/unbound-host.1 b/doc/unbound-host.1 index 528e75653..47eca3b34 100644 --- a/doc/unbound-host.1 +++ b/doc/unbound-host.1 @@ -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 diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c index c3bc1d0c7..7fd21e155 100644 --- a/smallapp/unbound-host.c +++ b/smallapp/unbound-host.c @@ -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");