Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 615 Bytes

dns-servers.md

File metadata and controls

24 lines (22 loc) · 615 Bytes
c SPDX-License-Identifier Long Arg Help Protocols Requires Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <[email protected]>, et al.
curl
dns-servers
<addresses>
DNS server addrs to use
DNS
c-ares
7.33.0
dns
single
dns-interface
dns-ipv4-addr
--dns-servers 192.168.0.1,192.168.0.2 $URL
--dns-servers 10.0.0.1:53 $URL

--dns-servers

Set the list of DNS servers to be used instead of the system default. The list of IP addresses should be separated with commas. Port numbers may also optionally be given, appended to the IP address separated with a colon.