Skip to content
Free website migration on every plan, done by our team.Learn more ›
Domains

How to check the DNS records of any domain

How to look up a domain's A, MX, TXT, NS and other DNS records, read the results, and use them to fix a website that won't load or email that won't arrive.

Short answer: Enter the domain in a DNS lookup such as our free DNS lookup tool. It lists the domain's records: A and AAAA say which server the website is on, MX says where email goes, TXT holds SPF, DMARC and verification codes, and NS names the nameservers in charge. Comparing what you see with what your host or email provider asked for solves most "it's not working" problems.

DNS is the internet's address book. When a website stops loading after a move, or email suddenly bounces, the cause is very often a missing or mistyped DNS record. A lookup shows you exactly what the rest of the internet sees, so you can stop guessing.

How to run a lookup

  1. Open the DNS lookup.
  2. Type the domain, for example example.com. To check a subdomain, type it in full, such as shop.example.com.
  3. Read the records and the plain-language notes underneath. The tool also points out common mistakes, such as email with no SPF record.

On a computer you can use the built-in commands too:

  • nslookup -type=mx example.com on Windows, macOS or Linux
  • dig example.com any or dig mx example.com +short on macOS and Linux

The records you will see

RecordWhat it doesA typical value
APoints the name to an IPv4 address (the server)203.0.113.10
AAAAPoints the name to an IPv6 address2001:db8::10
CNAMEMakes one name an alias of anotherwww pointing to example.com
MXSays which servers receive email, in order of priority10 mail.example.com
TXTFree text, used for SPF, DKIM, DMARC and ownership checksv=spf1 include:_spf.example.net ~all
NSThe nameservers that hold the domain's recordsns1.example-host.com
SOATechnical details about the zone, including a serial number that changes on every edit
CAAWhich companies may issue SSL certificates for the domain0 issue "letsencrypt.org"

For a fuller explanation of each type, see DNS records explained.

What TTL means

Each record has a TTL (time to live) in seconds. It tells other DNS servers how long they may remember the answer. A TTL of 3600 means one hour. If you have just changed a record, people whose provider cached the old answer will keep seeing it until the TTL runs out. That delay is what people call DNS propagation.

Five checks that solve most problems

1. The website won't load after a move

Look at the A record (and AAAA if there is one). It must show your new server's IP address, which you will find in your hosting welcome email or control panel. If it still shows the old address, update it, or check that the domain uses the nameservers your new host gave you.

2. www works but the bare domain doesn't (or the other way round)

Look up both example.com and www.example.com. Each needs a record: usually an A record on the bare domain and a CNAME on www. Then choose one main version and redirect the other, as explained in www vs non-www.

3. Email isn't arriving

Check the MX records. They must point to your email provider: your hosting mail server, Google Workspace or Microsoft 365, never a mixture of old and new. Remove MX records from a previous provider. Our guide to MX records walks through it.

4. Your emails land in spam

Look at the TXT records for one SPF record starting v=spf1, and a DMARC record at _dmarc.yourdomain.com starting v=DMARC1. Having two separate SPF records is a common mistake that breaks both. See SPF, DKIM and DMARC and why emails go to spam.

5. Changes you make don't seem to apply

Check the NS records. If they point to a different company, for example Cloudflare or your old host, then that company's DNS is in charge, and edits made anywhere else have no effect. Make your changes where the nameservers point, or switch the nameservers. Read what nameservers are if this is new to you.

Reading the results with confidence

  • A result showing no records usually means the domain is new, has expired, or has no nameservers set. Run a WHOIS lookup to check its status and expiry date.
  • Several A records are normal for large sites that spread traffic across servers.
  • Long TXT records are normal. Verification codes from Google, Microsoft and others pile up over the years. Remove the ones you no longer need.
  • Different answers on different networks mean a recent change is still spreading. Wait for the TTL, then check again.

Safe habits when you edit DNS

  1. Take a screenshot or copy of the existing records before you change anything.
  2. Lower the TTL to 300 seconds a day before a planned move, then raise it again afterwards.
  3. Change one thing at a time, and look it up again to confirm.
  4. Keep your registrar account protected with a strong password and two-factor authentication, because whoever controls DNS controls your website and email.

AuroxHost customers can edit DNS for every domain in the client area, and our team will check your records for you on WhatsApp if something isn't working.

Frequently asked questions

Is a DNS lookup safe to run on someone else's domain?

Yes. DNS records are public, because every computer needs them to find websites and deliver email. Looking them up is normal and harmless.

Why does the tool show different records from my control panel?

Usually because the domain's nameservers point somewhere else, so the panel you are looking at is not the one in charge. Check the NS records. Less often, a recent change has not spread yet.

How long do DNS changes take?

Most changes show within minutes to a few hours, depending on the TTL. Nameserver changes can take up to 24 to 48 hours to reach everyone.

Can a DNS lookup show which host a website uses?

Often. The nameservers and the owner of the IP address in the A record usually reveal the hosting company or the DNS provider in front of it.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.