--- c: Copyright (C) Daniel Stenberg, , et al. SPDX-License-Identifier: curl Long: dns-interface Arg: Help: Interface to use for DNS requests Protocols: DNS Added: 7.33.0 Requires: c-ares Category: dns Multi: single See-also: - dns-ipv4-addr - dns-ipv6-addr Example: - --dns-interface eth0 $URL --- # `--dns-interface` Tell curl to send outgoing DNS requests through . This option is a counterpart to --interface (which does not affect DNS). The supplied string must be an interface name (not an address).