Check DNS records online
DNS turns names into everything a service needs to work: the addresses of web servers, the mail servers for a domain, the keys that sign it and the text records that prove ownership to third parties. When a site does not load, email bounces or a certificate fails to issue, the cause is very often a DNS record.
This DNS lookup queries Cloudflare's 1.1.1.1 resolver over HTTPS straight from your browser. By default it fetches all common record types in parallel, so one search gives you the full picture. Pick a single type when you need something specific, such as SRV, DS or DNSKEY.
How to use the DNS lookup
- Enter a name or address. A domain, a subdomain such as www.example.com, a full URL, or an IPv4 or IPv6 address for reverse DNS.
- Choose a record type, or keep All common. All common queries A, AAAA, CNAME, MX, TXT, NS, SOA, CAA and HTTPS at once. Hover or focus any record type to see what it is for.
- Read the answer. Each record shows its TTL in seconds and in plain time, and parsed fields for MX priorities, SOA timers, CAA rules and DNSSEC keys. TXT records are tagged as SPF, DMARC, DKIM or verification.
- Follow up. Jump to related lookups such as the DMARC policy or the DS record, check registration in the Whois lookup, or share the result URL, for example
dns.houndsec.net/?q=example.com&type=MX.
DNS record types
| Type | Name | What it does |
|---|---|---|
A | IPv4 address | Maps a name to an IPv4 address. This is what browsers use to connect over IPv4. |
AAAA | IPv6 address | Maps a name to an IPv6 address, the IPv6 version of an A record. |
CNAME | Canonical name | Makes this name an alias of another name. The resolver follows it to get the real records. |
MX | Mail exchanger | Lists the mail servers that accept email for the domain. Lower priority numbers are tried first. |
TXT | Text | Free form text. Used for SPF, DMARC, DKIM and domain ownership verification tokens. |
NS | Name server | The authoritative name servers that answer for this zone. |
SOA | Start of authority | Zone metadata: primary name server, admin contact, serial number and timers used by secondary servers. |
CAA | Certification authority authorization | Lists which certificate authorities may issue TLS certificates for the domain. |
SRV | Service locator | Points a service such as _sip._tcp to a host and port, with priority and weight. |
PTR | Pointer (reverse DNS) | Maps an IP address back to a hostname. Lives under in-addr.arpa (IPv4) or ip6.arpa (IPv6). |
DS | Delegation signer | A hash of the zone's DNSSEC key, published in the parent zone to build the chain of trust. |
DNSKEY | DNSSEC public key | Public keys used to verify DNSSEC signatures. Flag 257 is a key signing key, 256 a zone signing key. |
HTTPS | HTTPS service binding | Tells browsers how to connect over HTTPS: supported protocols (alpn such as h3), address hints and ECH keys. |
SVCB | Service binding | The general form of the HTTPS record, used for other protocols such as DNS over HTTPS discovery. |
DNS response codes in plain words
| Code | Name | Meaning |
|---|---|---|
0 | NOERROR | The query succeeded. |
1 | FORMERR | The resolver could not understand the query. |
2 | SERVFAIL | The resolver could not get an answer. Usually the domain's name servers are broken or unreachable, or DNSSEC validation failed. |
3 | NXDOMAIN | This name does not exist in DNS. |
4 | NOTIMP | The resolver does not support this kind of query. |
5 | REFUSED | The server refused to answer this query. |
TTL (time to live) is how long, in seconds, a resolver may cache a record. 300 is five minutes, 3600 is one hour and 86400 is one day. DNSSEC adds signatures to records. When Cloudflare can verify them it sets the AD flag, shown here as Validated.
Frequently asked questions
What does a DNS lookup do?
A DNS lookup asks the Domain Name System for the records stored under a name. Those records say which IP addresses a website lives on (A and AAAA), which servers accept its email (MX), which name servers are authoritative (NS) and a lot more. This tool shows all of them with their time to live and DNSSEC status.
Which DNS server does this tool use?
Queries go from your browser to Cloudflare's public resolver, 1.1.1.1, using DNS over HTTPS with the JSON API at cloudflare-dns.com. Answers are what Cloudflare sees from its global network. HoundSec does not proxy or store your queries.
What does NXDOMAIN mean?
NXDOMAIN (response code 3) means the name does not exist in DNS at all. Typical causes are a typo, a domain that is not registered or has expired, or a subdomain that was never created. NOERROR with no records is different: the name exists but has no records of the type you asked for.
What does SERVFAIL mean?
SERVFAIL (response code 2) means the resolver tried but could not get a valid answer. The domain's name servers may be down or misconfigured, or DNSSEC validation failed. Open Advanced options and disable DNSSEC validation: if the lookup then works, the problem is the DNSSEC setup.
What is the AD flag and how do I check DNSSEC?
AD stands for authenticated data. Cloudflare sets it when it has verified the DNSSEC signatures on an answer. The tool shows Validated (AD) when every answer was verified. To inspect the setup, look up the DS record (published by the parent zone) and the DNSKEY records (published by the domain itself).
How do I do a reverse DNS (PTR) lookup?
Paste the IP address. The tool detects IPv4 and IPv6 automatically, builds the reverse name under in-addr.arpa or ip6.arpa, and queries its PTR record. No need to reverse the address yourself.
Why do I see a different TTL each time?
Cloudflare answers from its cache, so the TTL shown is the time remaining before that cached copy expires. It counts down between lookups and resets to the full value set by the domain owner when the cache is refreshed.
Why do DNS changes take time to show up?
Resolvers keep each answer for the length of its TTL. After you change a record, resolvers that cached the old value keep serving it until the TTL runs out. Lowering the TTL a day before a planned change makes the switch faster.
More free tools
DNS shows how a domain is configured. To see who registered it, when it expires and which registrar manages it, use the Whois lookup.