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