DNS Lookup Tool
Query A, AAAA, MX, CNAME, TXT, NS, and SOA records for any domain. Powered by Google's DNS over HTTPS for accurate, real-time resolution that bypasses local caching.
What is a DNS lookup?
A DNS (Domain Name System) lookup translates a human-readable domain name like github.com into machine-readable records — most commonly an IP address. Every time you visit a website, your browser performs a DNS lookup behind the scenes. This tool lets you query DNS records directly, bypassing local caches for real-time results.
The query goes to Google Public DNS over HTTPS (dns.google), a recursive resolver that fetches the answer from the domain's authoritative name servers. That makes it ideal for checking a record you have just changed: your laptop's cache and your ISP's resolver may still hold the old value, while a fresh recursive query shows what the rest of the world is about to see.
DNS record types explained
| Type | Maps a name to… | Typical use |
|---|---|---|
| A | An IPv4 address | Pointing example.com at a web server or load balancer (93.184.216.34). |
| AAAA | An IPv6 address | The IPv6 equivalent of A. Dual-stack sites publish both. |
| CNAME | Another hostname | Aliasing www or app to a hosting platform (yourname.github.io, cname.vercel-dns.com). Not allowed on the bare domain. |
| MX | Mail servers, with a priority | Routing inbound email. Lower priority numbers are tried first. |
| TXT | Free-form text | Domain verification (Google, AWS, Stripe) and email authentication: SPF, DKIM, DMARC. |
| NS | Authoritative name servers | Which DNS provider answers for the zone — Cloudflare, Route 53, your registrar. |
| SOA | Zone metadata | Primary name server, admin contact, serial number and refresh timers. The serial changes every time the zone is edited. |
| CAA | Permitted certificate authorities | Limits which CAs may issue TLS certificates for the domain (e.g. 0 issue "letsencrypt.org"). |
| PTR | An IP back to a name | Reverse DNS. Mail servers without a matching PTR often land in spam. |
| SRV | Host + port for a service | SIP, XMPP, Minecraft and Microsoft 365 autodiscovery. |
How to read the results
- TTL is how many seconds a resolver may cache the answer. A record with
TTL 300can be changed and seen worldwide within about five minutes;TTL 86400may take a full day. - MX records show
priority target, for example10 aspmx.l.google.com.. If several records share a priority, mail is spread across them. - TXT records are returned in quotes and may be split into 255-character chunks that the receiving server joins back together — long DKIM keys always look like this.
- CNAME chains are followed automatically: the answer may list the CNAME first and then the A records of the final target.
- No records found is a valid answer (NODATA): the name exists but has no record of that type. NXDOMAIN means the name does not exist at all.
What is DNS propagation and how long does it take?
DNS propagation is the time it takes for changes to DNS records to spread across all DNS servers worldwide. When you update a DNS record — such as changing your A record to a new server IP — DNS resolvers around the world continue serving the old record until their cache expires based on the record's TTL (Time To Live) value.
Propagation typically takes between a few minutes and 48 hours. If you need faster propagation, lower your TTL to 300 seconds (5 minutes) at least 24 hours before making the change, then revert to a higher TTL after the change is confirmed live. Changing name servers (NS) at the registrar is the slowest case, because the parent zone's TTL — often 48 hours for .com — is outside your control.
Troubleshooting common DNS problems
| Symptom | Likely cause | What to check |
|---|---|---|
| Site works on www but not on the bare domain | No A/ALIAS record at the apex, or a CNAME placed at the apex | Query A for example.com and for www.example.com; use your provider's ALIAS/ANAME at the root. |
| Old IP still showing after a change | Cached record (high TTL) or edited the wrong zone | Compare this tool (fresh) with nslookup on your machine (cached); check the SOA serial increased. |
| Email bounces or goes to spam | Missing MX, SPF, DKIM or DMARC | Query MX and TXT; there must be exactly one SPF record and it must end in -all or ~all. |
| Certificate issuance fails | A CAA record excludes your certificate authority | Query CAA; add your CA or remove the restriction. |
| Verification record "not found" | TXT added at the wrong name or with surrounding quotes | Query TXT for the exact host the provider asked for (often _acme-challenge or _dmarc). |
Email DNS: SPF, DKIM and DMARC in one minute
For email deliverability, always verify your MX, SPF (TXT record), DKIM (TXT record) and DMARC (TXT record) are correctly configured. Missing or misconfigured email DNS records are the most common cause of email going to spam.
- SPF lives in a TXT record on the domain itself and lists who may send mail for it:
v=spf1 include:_spf.google.com -all. Keep it under 10 DNS lookups. - DKIM publishes a public key at
selector._domainkey.example.comso receivers can verify the signature your mail server adds. - DMARC lives at
_dmarc.example.comand tells receivers what to do when SPF/DKIM fail:v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com.
DNS lookup questions
v=spf1, list every service that sends mail for you (include: entries or ip4: ranges) and end with -all (reject) or ~all (soft fail). Two SPF records, or more than 10 nested lookups, make the record invalid and receivers ignore it.