xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: dns-ipv4-addr |
| 4 | Arg: <address> |
| 5 | Help: IPv4 address to use for DNS requests |
| 6 | Protocols: DNS |
| 7 | See-also: dns-interface dns-ipv6-addr |
| 8 | Added: 7.33.0 |
| 9 | Requires: c-ares |
| 10 | Category: dns |
| 11 | Example: --dns-ipv4-addr 10.1.2.3 $URL |
| 12 | Multi: single |
| 13 | --- |
| 14 | Tell curl to bind to <ip-address> when making IPv4 DNS requests, so that |
| 15 | the DNS requests originate from this address. The argument should be a |
| 16 | single IPv4 address. |