blob: ff07051227a209a75e2ab7a38b3fe48f64475c07 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: dns-servers
4Arg: <addresses>
5Help: DNS server addrs to use
6Requires: c-ares
7Added: 7.33.0
8Category: dns
9Example: --dns-servers 192.168.0.1,192.168.0.2 $URL
10See-also: dns-interface dns-ipv4-addr
11Multi: single
12---
13Set the list of DNS servers to be used instead of the system default.
14The list of IP addresses should be separated with commas. Port numbers
15may also optionally be given as *:<port-number>* after each IP
16address.