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