Categories
Linux tips

Query DNS data

dig

Query for information on all DNS records

dig your_domain_name.com ANY

Query for A records

dig your_domain_name.com A

host, nslookup and dig share similar functionality.

whois

Return information about a domain name registration, including the name servers it is configured to work with

whois your_domain_name.com