DNSLookup.Name
--------------

Queries the name found.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DNSLookup](component_DNSLookup.md) | [6.0](newinversion60.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DNSLookup.Name"; LookupRef ) 

**MBS**( **"DNSLookup.Name";** /\* Queries the name found. \*/  
**$LookupRef**) /\* The reference number for the DNS Lookup.e.g. $Lookup \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| LookupRef | The reference number for the DNS Lookup. | $Lookup |

### Result

Returns text or error.

### Description

Queries the name found.  
### Examples

Query Apple.com:

 Let ( \[  
 d = MBS ("[DNSLookup.LookupHostByName](DNSLookupLookupHostByName.md)"; "www.apple.com"; 6);  
 r = MBS ("DNSLookup.Name"; d);  
 e = MBS ("[DNSLookup.Release](DNSLookupRelease.md)"; d)  
\]; r )  
### See also

- [DNSLookup.JSON](DNSLookupJSON.md)
- [DNSLookup.List](DNSLookupList.md)
- [DNSLookup.LookupHostByAddress](DNSLookupLookupHostByAddress.md)
- [DNSLookup.LookupHostByName](DNSLookupLookupHostByName.md)
- [DNSLookup.Release](DNSLookupRelease.md)

### Example Databases

- [Network/DNS Lookup](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Network/DNS%20Lookup.shtml#1ScriptAnchor_)

### Blog Entries

- [DNS Lookups in FileMaker](https://www.mbsplugins.de/archive/2015-12-12/DNS_Lookups_in_FileMaker/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 25th November 2015 , last changed 28th August 2025

  
[DNSLookup.LookupHostByName](DNSLookupLookupHostByName.md) - [DNSLookup.Release](DNSLookupRelease.md)

[HTML Version](DNSLookupName.shtml)