Tuesday, April 28, 2009

MX Record of a Domain

An MX record is a type of resource record in the DNS specifying how Emails should be routed using the SMTP Each MX record contains a preference and a host name.

We know How to find the IP address of a website uising “Nslookup”
With the help of this command line tool nslookup itself we can find the Mx record of that server.

For example if you want to find the MX enrty of hotmail.com

Type following line in the command line

Nslookup –q=mx hotmail.com
Result

Z:\>nslookup -q=mx hotmail.com
Server: ads.gfslho.geojit.com
Address: 192.168.9.7

Non-authoritative answer:
hotmail.com MX preference = 5, mail exchanger = mx4.hotmail.com
hotmail.com MX preference = 5, mail exchanger = mx1.hotmail.com
hotmail.com MX preference = 5, mail exchanger = mx2.hotmail.com
hotmail.com MX preference = 5, mail exchanger = mx3.hotmail.com

mx4.hotmail.com internet address = 65.54.244.104
mx4.hotmail.com internet address = 65.54.244.232
mx4.hotmail.com internet address = 65.54.245.104
mx4.hotmail.com internet address = 65.55.37.88
mx4.hotmail.com internet address = 65.55.37.104
mx4.hotmail.com internet address = 65.55.37.120
mx4.hotmail.com internet address = 65.55.92.152
mx4.hotmail.com internet address = 65.55.92.168
mx4.hotmail.com internet address = 65.55.92.184
mx1.hotmail.com internet address = 65.54.244.8
mx1.hotmail.com internet address = 65.54.244.136
mx1.hotmail.com internet address = 65.54.245.8
mx1.hotmail.com internet address = 65.55.37.72
mx1.hotmail.com internet address = 65.55.37.88
mx1.hotmail.com internet address = 65.55.37.104
mx1.hotmail.com internet address = 65.55.92.136
mx1.hotmail.com internet address = 65.55.92.152
mx1.hotmail.com internet address = 65.55.92.168

No comments: