]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Document behaviour.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Jun 2018 12:51:14 +0000 (12:51 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 21 Jun 2018 12:51:14 +0000 (12:51 +0000)
git-svn-id: file:///svn/unbound/trunk@4753 be551aaa-1e26-0410-a405-d3ace91eadb9

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

index 0d45c50ca1871a85adee9f6ecdd5cf70fb52059f..1bddf2fd093640dc8daf8495d694a7b6e02bf437 100644 (file)
 \- unbound DNS lookup utility
 .SH "SYNOPSIS"
 .B unbound\-host
+.RB [ \-C
+.IR configfile ]
 .RB [ \-vdhr46D ]
 .RB [ \-c 
 .IR class ]
 .RB [ \-t
 .IR type ]
-.I hostname
 .RB [ \-y
 .IR key ]
 .RB [ \-f
 .IR keyfile ]
 .RB [ \-F
 .IR namedkeyfile ]
-.RB [ \-C
-.IR configfile ]
+.I hostname
 .SH "DESCRIPTION"
 .B Unbound\-host
 uses the unbound validating resolver to query for the hostname and display
@@ -86,6 +86,8 @@ are read.
 .B \-C \fIconfigfile
 Uses the specified unbound.conf to prime
 .IR libunbound (3).
+Pass it as first argument if you want to override some options from the
+config file with further arguments on the commandline.
 .TP
 .B \-r
 Read /etc/resolv.conf, and use the forward DNS servers from there (those could
index d2846036fbd768001eaa354c999954d60f01f234..53bf3277ff9ba032da5f860982f7787925f34f33 100644 (file)
@@ -97,6 +97,8 @@ usage(void)
        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 (none read by default)\n");
+       printf("                        pass as first argument if you want to override some\n");
+       printf("                        options with further arguments\n");
        printf("    -r                  read forwarder information from /etc/resolv.conf\n");
        printf("                        breaks validation if the forwarder does not do DNSSEC.\n");
        printf("    -v                  be more verbose, shows nodata and security.\n");