• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: dns-interface
5Arg: <interface>
6Help: Interface to use for DNS requests
7Protocols: DNS
8Added: 7.33.0
9Requires: c-ares
10Category: dns
11Multi: single
12See-also:
13  - dns-ipv4-addr
14  - dns-ipv6-addr
15Example:
16  - --dns-interface eth0 $URL
17---
18
19# `--dns-interface`
20
21Tell curl to send outgoing DNS requests through <interface>. This option is a
22counterpart to --interface (which does not affect DNS). The supplied string
23must be an interface name (not an address).
24