DNSLookup.JSON
--------------

Queries JSON for the DNS result.

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

MBS( "DNSLookup.JSON"; LookupRef ) 

**MBS**( **"DNSLookup.JSON";** /\* Queries JSON for the DNS result. \*/  
**$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 JSON or error.

### Description

Queries JSON for the DNS result.  
### Examples

Query Apple.com IPv6 values and return JSON:

 Let ( \[  
 d = MBS ("[DNSLookup.LookupHostByName](DNSLookupLookupHostByName.md)"; "www.apple.com"; 6);  
 r = MBS ("DNSLookup.JSON"; d);  
 e = MBS ("[DNSLookup.Release](DNSLookupRelease.md)"; d)  
\]; r )  
<small>  
Example result:   
{ "name" : "e6858.dsce9.akamaiedge.net" , "host" : "www.apple.com" , "aliases" : \[ "www.apple.com" , "www-apple-com.v.aaplimg.com" , "www.apple.com.edgekey.net" \], "addrtype" : 30 , "addressList" : \[ "2a02:26f0:ab00:38d::1aca" , "2a02:26f0:ab00:393::1aca" \] } </small>### See also

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

### Release notes

- **Version 15.4**
    - Added [DNSLookup.JSON](https://www.mbsplugins.eu/DNSLookupJSON.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 15.4 News](https://www.mbsplugins.de/archive/2025-09-23/MBS_FileMaker_Plugin_154_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.4pr5](https://www.mbsplugins.de/archive/2025-09-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 28th August 2025 , last changed 28th August 2025

  
[DNSLookup.AliasCount](DNSLookupAliasCount.md) - [DNSLookup.List](DNSLookupList.md)

[HTML Version](DNSLookupJSON.shtml)