2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
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
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
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.
|