Platforms to show: All Mac Windows Linux Cross-Platform

DNSNameToAddressMBS(HostName as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Network MBS Network Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Resolves the IP address for this name.
Example
msgBox dnsnameToAddressIPv6MBS("localhost") + endofLine + dnsnameToAddressMBS("localhost")

Only for IPv4.
Returns "" on any error (like no name known).
Improved in 13.1 plugins to work on all platforms.

This may not work on Windows or Linux with Bonjour host names!

Some examples using this global method:

Some FAQ entries about this method:

Blog Entries

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...