Computer Tips - Linux: Find all info about a domain

Date: 2012apr19 Update: 2025jul31 OS: Linux Language: bash Q. Linux: Find all info about a domain A. To show all names registered under that domain do:
dig example.com ANY
or
dig -t ANY example.com (which is equivalent)
This will show you all the MX, A, TXT, etc records for a domain. This long command line works too:
dig +nocmd example.com any +multiline +noall +answer
To show the name, address of the person or company who registered it:
whois example.com
If the owner has used some "cloaking" service it will only give you the name of the registrar. Don't forget the obvious... visiting the website in a browser:
http://www.example.com