| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DNSLookup.Alias
Queries the alias.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DNSLookup | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DNSLookup.Alias"; LookupRef { ; Index } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| LookupRef | The reference number for the DNS Lookup. | $Lookup | |
| Index | The index of the alias. From 0 to DNSLookup.AliasCount-1. Index of -1 gives list with all values. |
0 | Optional |
Result
Returns text or error.
Description
Queries the alias.Examples
Query first alias for apple.com:
Let ( [
d = MBS("DNSLookup.LookupHostByName"; "www.apple.com"; 6);
r = MBS("DNSLookup.Alias"; d; 0);
e = MBS("DNSLookup.Release"; d)
]; r )
Example result: www.apple.com
d = MBS("DNSLookup.LookupHostByName"; "www.apple.com"; 6);
r = MBS("DNSLookup.Alias"; d; 0);
e = MBS("DNSLookup.Release"; d)
]; r )
Example result: www.apple.com
See also
- DNSLookup.AliasCount
- DNSLookup.List
- DNSLookup.LookupHostByAddress
- DNSLookup.LookupHostByName
- DNSLookup.Release
Example Databases
Blog Entries
This function checks for a license.
Created 25th November 2015, last changed 28th August 2025
MarkDown version: DNSLookupAlias.md