Message object
The Message object holds a DNS response. Use the Query property to get a Message object. The control sends the query to the DNS Server when one of the Message object properties is invoked. 

The following sample displays the mail servers responsible for the host, in the mail server preference order:

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

The Message object supports the following properties and methods:

NameDescription
AAAARetrieves the IPv6 address.
AddressRetrieves the host IP address(es). The list is separated by Separator.
CanonicalNameRetrieves a value that specifies the canonical or primary name for the host.
DomainNamePointerRetrieves a value that indicates the domain name pointer of the host.
HostInformationRetrieves information about a host.
LocationRetrieves the location where the host is located.
MailBoxDomainNameRetrieves the domain name that specifies a host that has a specified mailbox.
MailDestinationSpecifies a host which has a mail agent for the domain which should be able to deliver mail for the domain.
MailExchangeRetrieves a list of mail servers for the Host, ordered by preferences, and separated by Separator.
MailForwarderRetrieves a domain name which specifies a host which has a mail agent for the domain which will accept mail for forwarding to the domain.
MailGroupMemberSpecifies a mailbox which is a member of the mail group specified by the domain name.
MailInformationRetrieves a mailbox or mail list information.
MailRenameDomainNameSpecifies a mailbox which is the proper rename of the specified mailbox.
NameServerRetrieves the host's name server.
WellKnownServiceRetrieves description for a well known service.
ZoneOfAuthoritySpecifies the start of the zone of authority for the host.