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:
| Record | What it does | When you check it |
|---|---|---|
| A | Points a name to an IPv4 address | After moving hosting or if the site does not load |
| AAAA | Points a name to an IPv6 address | Same as A, for IPv6 visitors |
| CNAME | Makes one name an alias of another | Setting up www or a subdomain for a service |
| MX | Lists the servers that accept your email | Email not arriving |
| NS | Names the authoritative DNS servers | Changing DNS provider |
| TXT | Holds SPF, DKIM, DMARC and verification codes | Email authentication and Search Console verification |
| SOA | Zone details such as the primary server and timers | Rarely, for advanced troubleshooting |
| CAA | Lists which authorities may issue SSL certificates | SSL 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:
- Before and after a hosting migration. Note the current A, AAAA and MX values first, so you can roll back if something goes wrong.
- When you add an email or marketing service. Tools such as Google Workspace, Microsoft 365 or a newsletter platform ask you to add MX, SPF, DKIM or verification records.
- When an SSL certificate will not issue. Check that the domain points to the right server and that any CAA record allows your certificate authority.
- After a domain renewal or transfer. Confirm the NS records still point to the DNS host you expect.
- During a security review. Look for old CNAME records pointing at services you no longer use. A record that points to a deleted service can let someone else claim that subdomain, so remove anything you do not recognise.
Method 1: check DNS records with an online tool
This is the fastest option and works on any device.
- Open our free DNS Lookup.
- Enter your domain, for example example.com. Check www.example.com separately if your site uses it.
- Keep all record types ticked, answer the quick security question and run the lookup.
- 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.
- 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.
- The A record sends website visitors to the server at 203.0.113.10.
- The CNAME makes www load the same site as the root domain.
- The MX record sends email to Google Workspace.
- The first TXT record is a single SPF record that authorises Google to send email for the domain. The second is a Search Console verification code.
- The NS record shows which provider hosts the DNS, which is where any changes must be made.
- The number after each name is the TTL in seconds, so a change to these records could take up to an hour to reach every resolver, or a day for the NS record.
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
- A day or two before the move, look up every record and save a copy of each value.
- Lower the TTL on the A and AAAA records to a few minutes.
- Set up the site on the new server and test it before switching DNS.
- Update the A and AAAA records. Leave MX and TXT records alone unless email is moving too.
- Check the new values with the DNS Lookup and confirm the IP belongs to the new host with the IP Lookup.
- Watch Search Console for crawl errors over the following week, then raise the TTL again.
DNS checks that help your SEO
- Keep Googlebot able to reach you. If DNS fails, Google cannot crawl your pages. Search Console’s crawl stats report shows DNS resolution errors.
- Verify real Googlebot visits. Google recommends a reverse DNS lookup on the IP from your logs. The hostname should end in googlebot.com, google.com or googleusercontent.com, and a forward lookup on that hostname should return the same IP. Our IP Lookup shows the reverse DNS hostname for any IP.
- Vet link prospects. Before buying a guest post, a quick NS and A record check shows who hosts the site. Many link-selling sites share the same small hosting setup. Combine it with the Domain Age Checker and DR Checker.
- Launch new sites cleanly. Once DNS is pointing to the new server, publish a sensible robots.txt with our Robots.txt Generator so search engines can crawl it.
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.
