2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
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
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: dns
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --dns-ipv4-addr 10.1.2.3 $URL
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
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.
|
2021-07-16 15:10:53 +08:00
|
|
|
|
|
|
|
If this option is used several times, the last one will be used.
|