dns-interface.d 515 B

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