Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionDNSLocalIPv6
Set the local IPv6 address that the resolver should bind to.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionDNSLocalIPv6"; curl; IP ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
IP | The new IP to use. | "" |
Result
Returns OK or error.
Description
Set the local IPv6 address that the resolver should bind to.The argument should be a text and contain a single IPv6 address as a string.
Set this option to "" to use the default setting (don't bind to a specific IP address).
See also DNS_LOCAL_IP6 option in CURL manual.
See also
Created 8th July 2015, last changed 9th July 2015