mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
16 lines
450 B
Makefile
16 lines
450 B
Makefile
Long: dns-ipv4-addr
|
|
Arg: <address>
|
|
Help: IPv4 address to use for DNS requests
|
|
Protocols: DNS
|
|
See-also: dns-interface dns-ipv6-addr
|
|
Added: 7.33.0
|
|
Requires: c-ares
|
|
Category: dns
|
|
Example: --dns-ipv4-addr 10.1.2.3 $URL
|
|
---
|
|
Tell curl to bind to <ip-address> when making IPv4 DNS requests, so that
|
|
the DNS requests originate from this address. The argument should be a
|
|
single IPv4 address.
|
|
|
|
If this option is used several times, the last one will be used.
|