mirror of
https://github.com/curl/curl.git
synced 2026-08-26 10:33:33 +03:00
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>
This commit is contained in:
parent
df69440d05
commit
32352ed6ad
5 changed files with 39 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue