Check DNS records including A, AAAA, MX, CNAME, TXT, NS, PTR, SOA, SRV, and CAA with our free DNS lookup tool. Instantly verify domain and server settings
A DNS lookup asks a DNS resolver which records a domain publishes. This tool queries the public resolver you choose (Google 8.8.8.8, Cloudflare 1.1.1.1, OpenDNS, Quad9 or Yandex) for one record type, or for all of them at once, and shows the answer with each record's TTL. It is the web equivalent of running dig or nslookup.
example.com or mail.example.com. Internationalized names are converted to Punycode automatically.| Type | What it does | Dedicated tool |
|---|---|---|
| A | Maps a name to an IPv4 address | A Lookup |
| AAAA | Maps a name to an IPv6 address | AAAA Lookup |
| CNAME | Makes a name an alias of another hostname | CNAME Lookup |
| MX | Lists the mail servers that accept email for the domain | MX Lookup |
| NS | Lists the authoritative name servers | NS Lookup |
| TXT | Holds text such as SPF, DKIM and DMARC policies and verification tokens | TXT Lookup |
| PTR | Maps an IP address back to a hostname | Reverse DNS Lookup |
| SOA | Describes the zone: primary server, contact, serial and timers | This tool |
| SRV | Gives the host and port of a service, e.g. _sip._tcp.example.com | This tool |
| CAA | Lists the certificate authorities allowed to issue certificates for the domain | This tool |
www. A domain that has expired or has no working name servers returns nothing at all; a WHOIS Lookup shows its status._sip._tcp.example.com, not on the bare domain.A DNS lookup asks one resolver for a domain's records. A propagation check asks dozens of resolvers around the world for the same record, so you can see whether a recent change has reached all of them.
Each resolver caches answers for the length of the record's TTL. Straight after a change, some resolvers still hold the old record while others have fetched the new one. Some services also return different answers by location, for example CDNs that send you to a nearby server.
On macOS and Linux use dig example.com A or dig example.com MX; add @8.8.8.8 to choose the resolver. On Windows use nslookup -type=MX example.com or, in PowerShell, Resolve-DnsName example.com -Type MX.
It shows what the chosen public resolver returns, which is normally a cached copy of the authoritative answer. That is what most visitors and mail servers see too.