curl-w32/docs/cmdline-opts/dns-ipv4-addr.md

534 B

c SPDX-License-Identifier Long Arg Help Protocols Added Requires Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl dns-ipv4-addr <address> IPv4 address to use for DNS requests DNS 7.33.0 c-ares dns single
dns-interface
dns-ipv6-addr
--dns-ipv4-addr 10.1.2.3 $URL

--dns-ipv4-addr

Tell curl to bind to a specific IP address when making IPv4 DNS requests, so that the DNS requests originate from this address. The argument should be a single IPv4 address.