What I want to do is to get the mail server of a domain. That's why I put MX as QueryType. If I do it manually, I will perform below steps, so what should I do if I want to use ASPOSE, since I have a lot of email domain to check. Please help.
C:\>nslookup
> set type=MX
> microsoft.com
Server: dns04.netvigator.com
Address: 218.102.32.208
Non-authoritative answer:
microsoft.com MX preference = 10, mail exchanger = mail.messaging.microsoft.com
microsoft.com nameserver = ns2.msft.net
microsoft.com nameserver = ns3.msft.net
microsoft.com nameserver = ns4.msft.net
microsoft.com nameserver = ns5.msft.net
microsoft.com nameserver = ns1.msft.net
ns1.msft.net internet address = 65.55.37.62
ns2.msft.net internet address = 64.4.59.173
ns3.msft.net internet address = 213.199.161.77
ns4.msft.net internet address = 207.46.75.254
ns5.msft.net internet address = 65.55.226.140
> exit
C:\>ping mail.messaging.microsoft.com
Pinging mail.messaging.microsoft.com [216.32.180.22] with 32 bytes of data:
Reply from 216.32.180.22: bytes=32 time=222ms TTL=245
Reply from 216.32.180.22: bytes=32 time=221ms TTL=245
Reply from 216.32.180.22: bytes=32 time=220ms TTL=245
Reply from 216.32.180.22: bytes=32 time=220ms TTL=245
Ping statistics for 216.32.180.22:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 220ms, Maximum = 222ms, Average = 220ms