blob: aee7400bc5d1d1f3ea207578c8f3d9e0158996d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: dns-interface
Arg: <interface>
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`
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).
|