Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CURL.SetOptionDNSInterface

Set the name of the network interface that the DNS resolver should bind to.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 5.2 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionDNSInterface"; Handle; Value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The new interface name. "en0"

Result

Returns OK or error.

Description

Set the name of the network interface that the DNS resolver should bind to.
This must be an interface name (not an address).
Set this option to "" to use the default setting (don't bind to a specific interface).

See also


CURL.SetOptionDNSCacheTimeout   -   CURL.SetOptionDNSLocalIPv4

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins