master-server/deps/curl/docs/cmdline-opts/dns-interface.md

24 lines
548 B
Markdown
Raw Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
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
2024-05-15 15:20:32 -04:00
See-also:
- dns-ipv4-addr
- dns-ipv6-addr
Example:
- --dns-interface eth0 $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--dns-interface`
Send outgoing DNS requests through the given interface. This option is a
2023-12-11 20:30:44 -05:00
counterpart to --interface (which does not affect DNS). The supplied string
must be an interface name (not an address).