Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DNSLookup.JSON

Queries JSON for the DNS result.

Component Version macOS Windows Linux Server iOS SDK
DNSLookup 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DNSLookup.JSON"; LookupRef )   More

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"; "www.apple.com"; 6);
    r = MBS("DNSLookup.JSON"; d);
    e = MBS("DNSLookup.Release"; d)
]; r )

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" ] }

See also

Release notes

Blog Entries

This function checks for a license.

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


DNSLookup.AliasCount - DNSLookup.List