Finding DNS Records for a Domain with Linux



Apache/2.4.18 (Ubuntu) Server at Port 80
" data-via="andrewsirianni">Tweet

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 ANY +noall +answer

This should provide you with the following response:

; <<>> DiG 9.8.1-P1 <<>> ANY +noall +answer
;; global options: +cmd     1800   IN   SOA 2013011701 3600 300 1814400 600     172800   IN   NS     172800   IN   NS     172800   IN   NS     172800   IN   NS     172800   IN   NS     172800   IN   NS     172800   IN   NS     1800   IN   MX   1     1800   IN   MX   1     1800   IN   MX   1     1800   IN   A     1800   IN   A     1800   IN   A

... and voila! Now we can identify where our mail is pointing (MX Records) and where our websites are hosted (A Records)!

comments powered by Disqus

About Me

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.


Warning: DOMDocument::load( failed to open stream: HTTP request failed! HTTP/1.0 410 Gone in /home/andrxvjf/public_etc/templates/rmargin/twitter.tpl.php on line 8

Warning: DOMDocument::load(): I/O warning : failed to load external entity "" in /home/andrxvjf/public_etc/templates/rmargin/twitter.tpl.php on line 8

Recent Tweets

Follow me: @andrewsirianni

Copyright ©2012 Andrew Sirianni, All Rights Reserved   LinkedIn Profile