Recently a client came to me with a Domain Renewal invoice for their domain name. Before proceeding, I was keen to find out a little more about their on-line presence. Unfortunately, the client wasn't aware of where their email was hosted, their website, etc ... Fortunately, Linux has a nifty tool that can allow you to find these details - dig.
To find all the DNS Records for a domain, you can enter the following command:
dig yahoo.com ANY +noall +answer
This should provide you with the following response:
; <<>> DiG 9.8.1-P1 <<>> yahoo.com ANY +noall +answer
;; global options: +cmd
yahoo.com. 1800 IN SOA ns1.yahoo.com. hostmaster.yahoo-inc.com. 2013011701 3600 300 1814400 600
yahoo.com. 172800 IN NS ns4.yahoo.com.
yahoo.com. 172800 IN NS ns1.yahoo.com.
yahoo.com. 172800 IN NS ns6.yahoo.com.
yahoo.com. 172800 IN NS ns2.yahoo.com.
yahoo.com. 172800 IN NS ns8.yahoo.com.
yahoo.com. 172800 IN NS ns3.yahoo.com.
yahoo.com. 172800 IN NS ns5.yahoo.com.
yahoo.com. 1800 IN MX 1 mta6.am0.yahoodns.net.
yahoo.com. 1800 IN MX 1 mta5.am0.yahoodns.net.
yahoo.com. 1800 IN MX 1 mta7.am0.yahoodns.net.
yahoo.com. 1800 IN A 126.96.36.199
yahoo.com. 1800 IN A 188.8.131.52
yahoo.com. 1800 IN A 184.108.40.206
... and voila! Now we can identify where our mail is pointing (MX Records) and where our websites are hosted (A Records)!
I design & develop software that runs on the Internet. As a qualified analyst, accountant and real estate agent, I can deploy systems that improve performance.
Follow me: @andrewsirianni
Copyright ©2012 Andrew Sirianni, All Rights Reserved LinkedIn Profile