property Message.Address as String
Retrieves the host IP address(es).

TypeDescription
String A string expression that indicates the IP address(es) for the host.

If the DNS response contains multiple values, the Separator property determines the delimiter for the list of values.

The following sample displays the IP addresses for the host:

Dim n As New LookupNS
MsgBox n.Query("www.microsoft.com").Address