blob: 8cd4d134748da54f40466a41b6a9d6cf782db066 [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-interface
4Arg: <interface>
5Help: Interface to use for DNS requests
6Protocols: DNS
7See-also: dns-ipv4-addr dns-ipv6-addr
8Added: 7.33.0
9Requires: c-ares
10Category: dns
11Example: --dns-interface eth0 $URL
12Multi: single
13---
14Tell curl to send outgoing DNS requests through <interface>. This option is a
15counterpart to --interface (which does not affect DNS). The supplied string
16must be an interface name (not an address).