Quick answer: To check DNS records for a domain, enter the domain in a DNS lookup tool such as our free DNS Lookup, or run dig example.com MX on Mac or Linux, or nslookup -type=MX example.com on Windows. Look at the A and AAAA records for the website server, MX for email, NS for the DNS host and TXT for SPF, DMARC and verification codes. After a change, allow up to the record’s TTL for it to show everywhere.

DNS is the part of your website setup that nobody thinks about until something breaks. The site stops loading after a hosting move, emails bounce, or Google Search Console refuses to verify your domain. In almost every case the first step is the same: check DNS records to see which values are actually live. This guide shows you how to do that, what each record means and how to fix the most common problems.

What DNS records are

The Domain Name System turns names people can remember, like ddesignseo.com, into the addresses computers use. Your DNS host stores a set of records for your domain, and each record type has a job:

RecordWhat it doesWhen you check it
APoints a name to an IPv4 addressAfter moving hosting or if the site does not load
AAAAPoints a name to an IPv6 addressSame as A, for IPv6 visitors
CNAMEMakes one name an alias of anotherSetting up www or a subdomain for a service
MXLists the servers that accept your emailEmail not arriving
NSNames the authoritative DNS serversChanging DNS provider
TXTHolds SPF, DKIM, DMARC and verification codesEmail authentication and Search Console verification
SOAZone details such as the primary server and timersRarely, for advanced troubleshooting
CAALists which authorities may issue SSL certificatesSSL certificate requests failing

When a DNS check is worth doing

DNS rarely changes on its own, but plenty of everyday website jobs touch it. It is worth a quick look at these moments:

Method 1: check DNS records with an online tool

This is the fastest option and works on any device.

  1. Open our free DNS Lookup.
  2. Enter your domain, for example example.com. Check www.example.com separately if your site uses it.
  3. Keep all record types ticked, answer the quick security question and run the lookup.
  4. Read the hints under the results. The tool flags a missing MX record, a missing SPF record and the common mistake of having two SPF records.
  5. Click “Copy as text” if you need to send the records to your developer or hosting support.

Method 2: check DNS records from the command line

If you are comfortable with a terminal, these commands query DNS directly.

Mac and Linux (dig):

dig example.com A
dig example.com MX
dig example.com TXT
dig example.com NS

Windows (nslookup):

nslookup -type=A example.com
nslookup -type=MX example.com
nslookup -type=TXT example.com

Your computer may answer from its own cache, so results can lag behind a recent change. Add a public resolver to the end of the command, for example dig example.com A @1.1.1.1, to ask a different server.

How to read the results: a worked example

Here is what a typical small business setup might look like when you check DNS records. The values below are examples, not a real site.

example.com.      3600  A      203.0.113.10
www.example.com.  3600  CNAME  example.com.
example.com.      3600  MX     1 smtp.google.com.
example.com.      3600  TXT    "v=spf1 include:_spf.google.com ~all"
example.com.      3600  TXT    "google-site-verification=abc123..."
example.com.     86400  NS     ns1.example-dns.net.

Method 3: check your DNS host’s dashboard

Your registrar or DNS provider (for example Cloudflare, GoDaddy, Namecheap or your hosting panel) shows the records you have set. First run an NS lookup to confirm which provider is actually in charge. Editing records at a provider that is not listed in your NS records has no effect, and it is one of the most common reasons a change “does not work”.

Common DNS problems and how to fix them

The website does not load after moving hosting

Check the A and AAAA records. They should point to the new server’s IP address. If an old AAAA record still points to the previous host, some visitors on IPv6 will see the old site. Paste the IP into our IP Lookup to confirm it belongs to your new hosting company. Our guide on how to find who owns an IP address explains how to read the result.

Emails are not arriving

Check that MX records exist and point to your email provider, such as Google Workspace or Microsoft 365. Then check your TXT records for SPF. A domain must publish only one SPF record. If you use several email services, merge them into a single v=spf1 record, because two separate SPF records cause SPF checks to fail.

Google Search Console will not verify the domain

Search Console Domain properties are verified through DNS. Google gives you a TXT record that starts with google-site-verification=. Add it at your DNS provider exactly as given, then run a TXT lookup to confirm it is live before you click Verify.

A change is not showing yet

Every record has a TTL (time to live) in seconds. Resolvers cache the old value until it expires. If the old TTL was 3,600, allow up to an hour. Before a planned migration, lower the TTL a day early so the switch spreads faster.

DNS checklist for a website migration

  1. A day or two before the move, look up every record and save a copy of each value.
  2. Lower the TTL on the A and AAAA records to a few minutes.
  3. Set up the site on the new server and test it before switching DNS.
  4. Update the A and AAAA records. Leave MX and TXT records alone unless email is moving too.
  5. Check the new values with the DNS Lookup and confirm the IP belongs to the new host with the IP Lookup.
  6. Watch Search Console for crawl errors over the following week, then raise the TTL again.

DNS checks that help your SEO

Frequently asked questions

How long does DNS propagation take?

It depends on the TTL of the record you changed. Most changes show within minutes to a few hours. Records with long TTLs can take a day or more to reach every resolver.

Why do different tools show different DNS records?

Each resolver caches records for the TTL, so after a change some see the new value and some still see the old one. Once the TTL has passed everywhere, they all match.

What is the difference between DNS lookup and WHOIS?

A DNS lookup shows the live records that point a domain to servers. WHOIS, now replaced by RDAP for most domains, shows registration details such as the registrar and the dates. Our Domain Age Checker uses RDAP.

Can I check DNS records for a subdomain?

Yes. Enter the full name, for example shop.example.com. Subdomains can have their own records that differ from the main domain.

How often should I check DNS records?

Check DNS records whenever you change hosting, email or a connected service, and do a quick review every few months as part of a technical SEO check. That is usually enough to catch forgotten records and expiring setups.

Do DNS settings affect rankings?

Not directly, but they can stop Google crawling your site or slow down page loads, and broken email or verification records cause real business problems. Keeping DNS correct is part of basic technical SEO.

Final thoughts

Most “the website is down” and “emails are bouncing” problems start with one wrong DNS value. Learn to check DNS records with an online tool or a terminal, keep a copy before every change, and allow for the TTL after you edit anything. A two-minute check can save hours of guessing.

Need a hand with a migration or technical SEO? We check DNS, crawling and indexing as part of every technical audit for US and UK businesses. See our SEO services or get in touch.

Sources: Google Search Central: Verifying Googlebot and other Google crawlers; Google Search Console Help: Verify your site ownership; RFC 7208: Sender Policy Framework.

Tahir Mehmood

About the author

Tahir Mehmood

Tahir Mehmood is the founder of Digital Designs SEO LTD and an SEO and link building specialist with five years of hands-on experience in SEO, content writing and web development. He runs off-page SEO campaigns for businesses in the US and UK: finding relevant websites, earning backlinks that hold their value, writing content that answers real questions, and fixing the technical issues that stop good pages from ranking. More about our team.

Leave a Reply

Your email address will not be published. Required fields are marked *