Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionDNSServers
Set the name servers to use for DNS resolution.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionDNSServers"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The option value. |
Result
Returns OK or error.
Description
Set the name servers to use for DNS resolution.See also DNS_SERVERS option in CURL manual.
See also
- CURL.SetOptionDNSInterface
- CURL.SetOptionIssuerCert
- CURL.SetOptionReferer
- CURL.SetOptionRTSPServerCSEQ
- CURL.SetOptionSSLCert
Created 15th April 2018, last changed 16th April 2018
CURL.SetOptionDNSLocalIPv6 - CURL.SetOptionDNSShuffleAddresses