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

DNSLookup.Address

Queries the address.

Component Version macOS Windows Linux Server iOS SDK
DNSLookup 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DNSLookup.Address"; LookupRef { ; Index } )   More

Parameters

Parameter Description Example Flags
LookupRef The reference number for the DNS Lookup. $Lookup
Index The index of the address.
From 0 to DNSLookup.AddressCount-1.
Index of -1 gives list with all values.
0 Optional

Result

Returns text or error.

Description

Queries the address.

Examples

Query first address Apple.com:

Let ( [
    d = MBS("DNSLookup.LookupHostByName"; "www.apple.com"; 6);
    r = MBS("DNSLookup.Address"; d; 0);
    e = MBS("DNSLookup.Release"; d)
]; r )

Example result: 2a02:26f0:ab00:38d::1aca

See also

Example Databases

Blog Entries

This function checks for a license.

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


CoreML.Update - DNSLookup.AddressCount