How to Check DNS Records for Any Domain
XUtilHub Team ·
DNS is the internet's address book. When a website won't load after a server move, or emails suddenly stop arriving, the answer is often in a DNS record. Here's what the main records do and how to check them.
The records that matter
| Record | What it does | Example |
|---|---|---|
| A | Points a name to an IPv4 address | example.com → 93.184.215.14 |
| AAAA | Points a name to an IPv6 address | example.com → 2606:2800:21f::1 |
| CNAME | Makes a name an alias of another name | www → example.com |
| MX | Says which servers receive email | 10 mail.example.com |
| TXT | Holds text: SPF, DKIM, DMARC, verification codes | v=spf1 include:_spf.google.com ~all |
| NS | Names the servers that hold the domain's DNS | ns1.cloudflare.com |
| CAA | Says which authorities may issue SSL certificates | 0 issue "letsencrypt.org" |
How to look them up
Enter a domain in the DNS lookup tool. It queries public resolvers (Cloudflare, Google and Quad9) and shows every record type with its TTL, the number of seconds resolvers may cache the answer.
On a computer, you can also use the command line:
nslookup -type=MX example.com
dig example.com A
Troubleshooting common problems
Website not loading after moving hosts
- Check the A record shows the new server's IP.
- Check the NS records point to the DNS provider where you made the change. Editing records at your registrar does nothing if the domain uses Cloudflare's name servers, for example.
- Wait for the old TTL to expire. If it was 86400, that's up to 24 hours.
Emails not arriving
- Check there are MX records and that they point to your email provider.
- Check your SPF TXT record includes the services that send your email, and that DKIM and DMARC records are set up too.
www works but the bare domain doesn't (or the other way round)
Both need records. Typically the bare domain has an A record and www has a CNAME pointing to it.
SSL certificate won't issue
A CAA record may be restricting which certificate authorities can issue for your domain. Add one for your provider, or remove the restriction.
What is DNS propagation?
People say DNS changes "take 48 hours to propagate". Really, resolvers around the world keep their cached copy until its TTL expires. Lower the TTL to 300 seconds a day before a planned change, and the switch-over will take minutes instead of hours.
Who owns the domain?
DNS tells you where a domain points; WHOIS tells you who registered it and when it expires. Use the WHOIS lookup, and check the HTTPS setup with the SSL checker.
Tools mentioned in this article
DNS LookupNEW
Look up the DNS records of any domain: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA, with TTLs. Reverse DNS for IP addresses. Free and instant.
WHOIS LookupNEW
Find when a domain was registered, how old it is, when it expires, its registrar and name servers. Works for .com, .pk, .in, .co.uk and most other domains.
SSL CheckerNEW
Check any website's SSL certificate: whether it's valid and trusted, when it expires, who issued it, which domains it covers, the TLS version and the full chain.