Files
dl/third/libcurl/docs/cmdline-opts/dns-interface.md
T
2026-09-16 14:07:40 +08:00

548 B
Vendored

c, SPDX-License-Identifier, Long, Arg, Help, Protocols, Added, Requires, Category, Multi, See-also, Example
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-interface <interface> Interface to use for DNS requests DNS 7.33.0 c-ares dns single
dns-ipv4-addr
dns-ipv6-addr
--dns-interface eth0 $URL

--dns-interface

Send outgoing DNS requests through the given interface. This option is a counterpart to --interface (which does not affect DNS). The supplied string must be an interface name (not an address).