How to look up DNS records
- Enter a domain such as
example.com. You can paste a full URL; the tool keeps only the host name. Enter an IP address instead to find its reverse DNS (PTR) name. - Press Look up. A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and DMARC records are fetched at once; the number on each tab shows how many records were found.
- Switch the resolver between Google and Cloudflare to compare answers. If they differ, a recent change is still spreading.
- Copy a single value with its copy button, or press Copy all to get every record in zone-file style.
DNS record types
| Type | What it does | Example value |
|---|---|---|
| A | Points the name to an IPv4 address | 203.0.113.10 |
| AAAA | Points the name to an IPv6 address | 2001:db8::10 |
| CNAME | Makes the name an alias of another name (not allowed at the root domain) | shops.myshopify.com. |
| MX | Mail servers for the domain; the lower number is tried first | 1 smtp.google.com. |
| NS | Name servers that hold the domain's records | ns1.cloudflare.com. |
| TXT | Free text: SPF, domain verification and other settings | v=spf1 include:_spf.google.com ~all |
| SOA | Start of authority: primary name server, admin contact, serial number and timers | ns1.example.com. admin.example.com. 2026111401 … |
| CAA | Certificate authorities allowed to issue SSL/TLS certificates | 0 issue "letsencrypt.org" |
| DMARC | A TXT record at _dmarc. that tells receivers what to do with mail failing SPF/DKIM | v=DMARC1; p=quarantine; rua=mailto:… |
| PTR | Reverse DNS: the name for an IP address | dns.google. |
Checking email DNS: SPF, DKIM and DMARC
Most email delivery problems come down to three DNS records. Since 2024, Gmail and Yahoo require bulk senders to have all three, and every sender needs at least SPF or DKIM.
- SPF lives in a TXT record on the domain itself and starts with
v=spf1. A domain should have exactly one; two SPF records make both invalid. The TXT tab marks it for you. - DKIM is a TXT record at
selector._domainkey.example.com. The selector (such asgoogleors1) depends on your email provider, so enter that full name above to check it. - DMARC is a TXT record at
_dmarc.example.com. The DMARC tab looks it up automatically. Start withp=noneto monitor, then move toquarantineorreject.
DNS propagation and TTL
When you change a record, resolvers around the world keep serving the old answer until its TTL (time to live, in seconds) runs out. A TTL of 3600 means up to an hour; changing name servers at your registrar can take 24–48 hours because the parent zone's records have long TTLs. To check whether a change has spread, look the domain up with both resolvers above. If both show the new value, most of the internet will too. To make future changes faster, lower the TTL to 300 a day before you edit the record.
Look up DNS from the command line
| Task | Windows | macOS / Linux |
|---|---|---|
| A record | nslookup example.com | dig example.com A +short |
| MX records | nslookup -type=mx example.com | dig example.com MX +short |
| Ask a specific resolver | nslookup example.com 1.1.1.1 | dig @1.1.1.1 example.com |
| Reverse lookup | nslookup 8.8.8.8 | dig -x 8.8.8.8 +short |
| Clear local DNS cache | ipconfig /flushdns | macOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder |
Want to know which address your own connection uses? See what is my IP address.
Comments 0
No comments yet.