mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +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
14 lines
412 B
Makefile
14 lines
412 B
Makefile
Long: dns-interface
|
|
Arg: <interface>
|
|
Help: Interface to use for DNS requests
|
|
Protocols: DNS
|
|
See-also: dns-ipv4-addr dns-ipv6-addr
|
|
Added: 7.33.0
|
|
Requires: c-ares
|
|
Category: dns
|
|
Example: --dns-interface eth0 $URL
|
|
---
|
|
Tell curl to send outgoing DNS requests through <interface>. This option is a
|
|
counterpart to --interface (which does not affect DNS). The supplied string
|
|
must be an interface name (not an address).
|