# DNS lookup

> Free DNS lookup: check any domain's A, AAAA, CNAME, MX, NS, TXT (SPF, DMARC), SOA and CAA records with TTLs, or reverse DNS for an IP.

Source: https://checkifsitedown.com/tools/dns-lookup

See every DNS record for a domain: A, AAAA, CNAME, MX, NS, TXT, SOA and CAA. Enter an IP address for a reverse lookup.

DNS (the Domain Name System) is the internet's address book: it turns names like `example.com` into the server addresses computers connect to, and it tells the world where to deliver a domain's email. A DNS lookup shows exactly what a domain's records say right now.

## When a DNS lookup helps

- **A site won't load** and shows `DNS_PROBE_FINISHED_NXDOMAIN`: check whether the domain has an A or AAAA record at all. See our [browser DNS errors guide](https://checkifsitedown.com/guides/this-site-cant-be-reached-errors-explained#dns-errors).
- **You moved a website**: confirm the A record points to your new host's IP.
- **Email isn't arriving**: check the MX records and the SPF and DMARC TXT records.
- **An SSL certificate won't issue**: CAA records may be restricting which authorities can issue one.
- **Verifying a domain** for Google, Microsoft or another service: check that the TXT record they gave you is published.

## The records at a glance

| Record | What it does | Example value |
| --- | --- | --- |
| **A** | Points the name to an IPv4 address | `93.184.215.14` |
| **AAAA** | Points the name to an IPv6 address | `2606:2800:21f::1` |
| **CNAME** | Makes the name an alias of another name | `shops.myshopify.com` |
| **MX** | Lists the mail servers, lowest number first | `10 mail.example.com` |
| **NS** | Names the servers that hold the records | `ns1.dns-parking.com` |
| **TXT** | Free text: SPF, DMARC, site verification | `v=spf1 include:_spf.google.com ~all` |
| **SOA** | Zone details and serial number | `ns1… hostmaster… 2026102001` |
| **CAA** | Which CAs may issue SSL certificates | `0 issue "letsencrypt.org"` |

## Fresh results, not your cached copy

We query public DNS-over-HTTPS resolvers (Cloudflare first, with Google and Quad9 as backups), so you see what the internet sees, not what your own computer remembered from earlier. If you just changed a record and see the old value, it's still cached: check the [DNS propagation checker](https://checkifsitedown.com/tools/dns-propagation) to watch the change spread, and lower the TTL before your next change.

If DNS keeps failing only on your own connection, your provider's DNS may be the problem. Switching to a public resolver takes two minutes: here's [how to change your DNS server](https://checkifsitedown.com/guides/how-to-change-dns-server).

## Frequently asked questions

**What do the DNS record types mean?**

- **A**: the IPv4 address of the server.
- **AAAA**: the IPv6 address.
- **CNAME**: an alias pointing to another name.
- **MX**: the mail servers that receive email for the domain.
- **NS**: the nameservers that hold the domain's records.
- **TXT**: text records, used for SPF, DMARC and domain verification.
- **SOA**: zone details, including the serial number that changes with each edit.
- **CAA**: which certificate authorities may issue SSL certificates for the domain.

**What does TTL mean?**

TTL (time to live) is how many seconds DNS servers may keep a copy of a record before asking again. A TTL of `3600` means changes can take up to an hour to be seen by servers that recently cached the old value.

**Why are these results different from what my computer sees?**

We look records up fresh through public DNS resolvers, while your computer and router may still be using a copy cached earlier. If you've just changed a record, check our [DNS propagation checker](https://checkifsitedown.com/tools/dns-propagation) to see which resolvers have the new value, and [flush your local DNS cache](https://checkifsitedown.com/guides/how-to-change-dns-server#after).

**How do I check SPF, DMARC and DKIM records?**

Choose **TXT** and enter the domain for its SPF record (it starts with `v=spf1`). For DMARC, look up `_dmarc.yourdomain.com`. For DKIM, look up `selector._domainkey.yourdomain.com`, where the selector is set by your email provider (for example `google` or `selector1`).

**How do I do a reverse DNS lookup?**

Enter an IP address instead of a domain. We look up its **PTR** record, which is the host name its owner has set for it, for example a mail server's name.

## More free tools

- [Website down checker](https://checkifsitedown.com/): Is a site down for everyone or just you?
- [What is my IP](https://checkifsitedown.com/tools/what-is-my-ip): Your public IPv4 and IPv6 address, location and provider, plus a lookup for any IP.
- [VPN leak test](https://checkifsitedown.com/tools/vpn-leak-test): Check that your VPN hides your real IP: tests for IP, DNS, WebRTC and IPv6 leaks.
- [What is my DNS server](https://checkifsitedown.com/tools/what-is-my-dns-server): The DNS servers your browser really uses, and who runs them.
- [DNS propagation](https://checkifsitedown.com/tools/dns-propagation): See whether a DNS change has reached Google, Cloudflare, Quad9 and 9 other resolvers.
- [SSL checker](https://checkifsitedown.com/tools/ssl-checker): Expiry date, issuer, names covered, chain and trust for any site's HTTPS certificate.
- [Redirect checker](https://checkifsitedown.com/tools/redirect-checker): Every redirect a URL goes through, with status codes, timings and loop detection.
- [HTTP header checker](https://checkifsitedown.com/tools/http-header-checker): Any site's response headers explained, plus a security-header and cookie check.
- [Password generator](https://checkifsitedown.com/tools/password-generator): Random passwords or memorable passphrases, generated privately in your browser.
