dns-servers.md (615B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: dns-servers 5 Arg: <addresses> 6 Help: DNS server addrs to use 7 Protocols: DNS 8 Requires: c-ares 9 Added: 7.33.0 10 Category: dns 11 Multi: single 12 See-also: 13 - dns-interface 14 - dns-ipv4-addr 15 Example: 16 - --dns-servers 192.168.0.1,192.168.0.2 $URL 17 - --dns-servers 10.0.0.1:53 $URL 18 --- 19 20 # `--dns-servers` 21 22 Set the list of DNS servers to be used instead of the system default. The list 23 of IP addresses should be separated with commas. Port numbers may also 24 optionally be given, appended to the IP address separated with a colon.