Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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


CURL.SetOptionDNSLocalIPv4 - CURL.SetOptionDNSServers

💬 Ask a question or report a problem