DNS Lookup
Look up A, AAAA, MX, TXT, NS, CNAME, SOA, CAA and PTR records for any domain
Runs in your browser. To get live data it sends the domain name and record type to Cloudflare DNS over HTTPS (Google Public DNS as a fallback). Nothing you enter is sent to us or stored. Privacy
Results are for general guidance. Please check anything important before relying on it. Terms of use
How to Use
- Type a domain name such as
example.com, or paste a full link. Thehttps://part and anything after the domain are removed for you. - Pick a Record type: A for the website's IPv4 address, MX for mail servers, TXT for SPF and verification codes, and so on. Choose All common types to see everything at once.
- Tap Look up or press Enter. To find the name behind an IP address, type the IP and the tool runs a reverse (PTR) lookup. After the first lookup, picking another record type looks it up straight away.
- Read the answers in the table: type, TTL and value, plus the name when an answer belongs to another name (a CNAME alias). MX records show their priority, and long TXT records are joined into one line.
- If the domain doesn't exist you'll see NXDOMAIN with an explanation. Use the copy icon to copy every record as text.
What a DNS lookup shows you
DNS is the internet's address book. When you type a website name, your device asks a DNS resolver which server to connect to, and the answer comes back as DNS records. This DNS lookup tool shows those records for any domain: the IP addresses of the website, the mail servers, the text records used for email security, the nameservers and more. It's handy when you're setting up a new domain, moving email to Google Workspace or Zoho Mail, or working out why a site isn't opening.
The tool asks Cloudflare's public resolver (1.1.1.1) over an encrypted HTTPS connection. If Cloudflare doesn't answer, it asks Google Public DNS instead. You see what a public resolver sees, which may differ from what your office network or internet provider shows if they keep their own copies.
The common record types
| Type | What it holds | Typical use |
|---|---|---|
| A | An IPv4 address | Points the domain to a web server |
| AAAA | An IPv6 address | Same as A, for IPv6 networks |
| CNAME | Another name this one is an alias of | www pointing to a hosting or CDN address |
| MX | Mail server and its priority | Where email for the domain is delivered |
| TXT | Free text | SPF, DKIM, DMARC and site verification codes |
| NS | The domain's nameservers | Shows which DNS provider controls the domain |
| SOA | Zone details and serial number | Checking that a change has been published |
| CAA | Which certificate authorities may issue SSL certificates | Fixing "certificate not issued" errors |
| PTR | The name behind an IP address | Reverse lookup, often checked by mail servers |
Reading the answer
Each row has a TTL (time to live) in seconds. That's how long resolvers around the world may keep a copy before asking again. If an A record has a TTL of 3600 and you change it, some people may still reach the old server for up to an hour. This is what people mean by "DNS propagation". Lower the TTL a day before a planned move, and changes will spread faster.
MX records come with a priority number, and lower numbers are tried first. When we looked up google.com in October 2026, it returned one MX record:
The status line tells you how the lookup went. NOERROR means the query worked, even if there were no records of that type. NXDOMAIN means the name doesn't exist at all, which usually means a typo, an expired domain, or a subdomain that was never created. SERVFAIL means the domain's own nameservers didn't answer properly, often because of a broken DNSSEC setup.
Useful checks for Indian website owners
- Email not arriving? Look up MX. The records should match exactly what your mail provider's setup page lists.
- Mail landing in spam? Look up TXT and check for one SPF record starting with
v=spf1. Two SPF records on the same domain break SPF. For DMARC, look up TXT on_dmarc.yourdomain.in. - Moved hosting? Compare the A record with the IP your new host gave you.
- Changed nameservers at your registrar? Look up NS to see if the new ones show up. Registry updates for .in and .com domains can take a few hours to appear.
International names in Hindi or other scripts (like ā¤ā¤žā¤°ā¤¤) are looked up in their punycode form, which starts with xn--. The tool converts them for you and shows the converted name.