From 32352ed6adddcb9275eb6f19f8aaeadf9476b0fd Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Sat, 9 Feb 2013 13:18:02 -0800 Subject: 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 --- src/tool_help.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/tool_help.c') 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 } } - -- cgit v1.2.3