aboutsummaryrefslogtreecommitdiff
path: root/src/tool_help.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2013-02-09 13:18:02 -0800
committerDaniel Stenberg <daniel@haxx.se>2013-09-12 21:11:47 +0200
commit32352ed6adddcb9275eb6f19f8aaeadf9476b0fd (patch)
treea1add10a47b3540bc1400d05e46b6b5eb5f13a9a /src/tool_help.c
parentdf69440d05f1133a9053e19a9bf576c8b13514b9 (diff)
curl: Add support for various DNS binding options.
(Passed on to c-ares.) Allows something like this: curl --dns-interface sta8 --dns-ipv4-addr 8.8.1.111 --interface sta8 \ --localaddr 8.8.1.111 --dns-servers 8.8.8.1 www.google.com Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'src/tool_help.c')
-rw-r--r--src/tool_help.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index 5ae39af77..81ac89726 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -70,6 +70,10 @@ static const char *const helptext[] = {
" --digest Use HTTP Digest Authentication (H)",
" --disable-eprt Inhibit using EPRT or LPRT (F)",
" --disable-epsv Inhibit using EPSV (F)",
+ " --dns-servers DNS server addrs to use: 1.1.1.1;2.2.2.2",
+ " --dns-interface Interface to use for DNS requests",
+ " --dns-ipv4-addr IPv4 address to use for DNS requests, dot notation",
+ " --dns-ipv6-addr IPv6 address to use for DNS requests, dot notation",
" -D, --dump-header FILE Write the headers to this file",
" --egd-file FILE EGD socket path for random data (SSL)",
" --engine ENGINE Crypto engine (SSL). \"--engine list\" for list",
@@ -246,4 +250,3 @@ void tool_help(void)
#endif
}
}
-