CURL.GetNameLookupTime
----------------------

Get the time, in seconds, it took from the start until the name resolving was completed.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetNameLookupTime"; curl ) 

**MBS**( **"CURL.GetNameLookupTime";** /\* Get the time, in seconds, it took from the start until the name resolving was completed. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |

### Result

Returns the requested value or nothing on error.

### Description

Get the time, in seconds, it took from the start until the name resolving was completed.  
### Examples

Show time:

 Show Custom Dialog \[ "DNS Lookup Time in seconds" ; MBS ( "CURL.GetNameLookupTime"; $curl ) \]  
### Example Databases

- [CURL/CURL Download Picture](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20Picture.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 19th August 2020

  
[CURL.GetMultiTransfersRunning](CURLGetMultiTransfersRunning.md) - [CURL.GetNumConnects](CURLGetNumConnects.md)

[HTML Version](CURLGetNameLookupTime.shtml)