~/TechPurAILearn · Build · Grow
Start Learning
~/tools/dns-lookup
Network & Web

DNS Lookup

Lookups run directly from your browser to Cloudflare's public DNS resolver (1.1.1.1) over DNS-over-HTTPS — this site doesn't see, log, or store the domain or IP you look up.

Every domain name lookup — opening a website, sending an email, checking whether a server you set up is actually reachable — starts with a DNS query most people never see directly. This tool makes that query explicit: enter a domain and see exactly what its DNS records say, including the two records email deliverability actually depends on (SPF and DMARC), checked at the specific locations mail servers actually look for them.

What each record type actually tells you

A and AAAA records are the core of DNS — the IPv4 and IPv6 addresses a domain resolves to, what a browser is really asking for every time you type a URL. CNAME points one hostname at another instead of at an IP directly, commonly used for a www subdomain pointing at the root domain, or a subdomain pointing at a third-party service. MX records say which mail servers handle email for the domain, each with a priority number — lower numbers are tried first. NS records name the domain's authoritative nameservers, which is really an answer to "who controls this domain's DNS," independent of who registered the domain itself. SOA carries the zone's administrative metadata — the primary nameserver, an admin contact, and timing values that control how long a secondary nameserver waits before re-checking for changes. CAA restricts which certificate authorities are allowed to issue TLS certificates for the domain, a defense against a misissued certificate from an unrelated CA. TXT is a general-purpose free-text record used for almost anything that doesn't fit the other types — domain ownership verification, and, most importantly for deliverability, SPF and DMARC.

Why SPF and DMARC get checked automatically, and separately

SPF and DMARC are both published as TXT records, but they live in different places, which is the single most common reason a correctly-written record doesn't actually work. An SPF record belongs at the domain's own root as a TXT record, and it lists which mail servers are authorized to send email claiming to be from that domain — include: for trusting another domain's own SPF, ip4:/ip6: for trusting a specific address directly, and a closing all mechanism (usually -all or ~all) that decides what happens to anything not explicitly listed. A DMARC record, by contrast, has to be published at _dmarc.yourdomain.com specifically — the DMARC specification defines that exact subdomain as where mail servers look, and a DMARC-formatted record sitting at the root domain instead is simply invisible to anything checking it. This tool queries both locations automatically, parses any SPF record's mechanisms into plain language, and flags clearly when either one is missing from where it actually needs to be.

Forward lookups versus reverse lookups

A forward lookup — the default here — answers "what does this domain point to." A reverse lookup flips the question: given an IP address, what hostname does it resolve back to? Reverse DNS works through a special zone, in-addr.arpa for IPv4, where the IP's octets are reversed and treated as a domain name themselves (1.1.1.1 becomes a lookup for 1.1.1.1.in-addr.arpa). Reverse lookups matter most for email — a receiving mail server commonly checks whether a connecting server's IP has a PTR record at all, and whether it plausibly matches the hostname the server claims, since a missing or mismatched reverse record is a signal many spam filters weight heavily.

DNS changes take time to spread

Updating a DNS record doesn't make every resolver on the internet see the change instantly — each record carries a TTL (time to live), and resolvers that already cached the old value keep serving it until that TTL expires. A lookup here queries Cloudflare's resolver directly, which may itself be serving a cached answer if the TTL hasn't elapsed since the last time anyone queried that record — if a change isn't showing up yet, that's very often just the TTL window, not a sign the change failed.

Frequently asked questions

Why does this tool query DNS-over-HTTPS instead of running its own DNS server?

Because a DNS-over-HTTPS (DoH) query is just a regular HTTPS request, it can be made directly from your browser to a public resolver — in this case Cloudflare's 1.1.1.1 — with no server of ours sitting in between to see the request, log it, or even know it happened. A traditional DNS lookup tool typically runs the query server-side and relays the result to you, which works but means that server sees and can log every domain anyone looks up. This tool skips that entirely.

Does this tool send the domain or IP I look up to anyone?

It sends it to Cloudflare's public DNS resolver, because that's inherent to what a DNS lookup is — some resolver has to be asked. It does not send it to this site's own servers, since the lookup runs entirely in your browser via a direct request to Cloudflare. That's a real, meaningful difference from a tool that proxies your query through its own backend first.

Why didn't my domain show an SPF or DMARC record even though I'm sure I set one up?

The most common reason is where it was published. An SPF record has to be a TXT record at the domain's root (example.com, not a subdomain) — one at www.example.com or mail.example.com won't be found by mail servers checking SPF for the root domain. A DMARC record is the opposite: it has to live specifically at _dmarc.example.com, not the root — a DMARC-formatted TXT record placed at the root domain itself is simply never checked by mail servers, because the DMARC specification defines that exact subdomain as where it looks. This tool checks both locations automatically for exactly this reason.

What does the nameserver provider hint actually tell me?

It's a plain pattern match against the nameserver hostnames returned in a domain's NS records — most DNS providers use a distinctive nameserver domain (Cloudflare's end in cloudflare.com, Amazon Route 53's contain awsdns, and so on), so matching that pattern is a reasonably reliable way to guess who's hosting a domain's DNS without a separate WHOIS lookup. It's a hint, not a certainty: a provider can use a nameserver domain this tool doesn't recognize, in which case nothing is shown rather than a guess.

What's the difference between a forward lookup and a reverse lookup?

A forward lookup answers 'what does this domain point to' — enter a domain, get back its IP addresses, mail servers, and other records, which is what almost every DNS lookup is. A reverse lookup answers the opposite question: 'what hostname does this IP address belong to,' resolved through a special in-addr.arpa DNS zone that maps IP octets back to a domain. Reverse lookups are mainly used by mail servers to sanity-check that a connecting server's IP actually has a matching hostname before accepting mail from it — a mismatch is a common spam signal.

Why does a domain sometimes show more than one IP address for its A record?

Multiple A records for the same domain is a deliberate, common setup — it lets a single domain name resolve to several servers, either for load balancing (a resolver or client picks one, roughly spreading traffic across all of them) or for redundancy (if one server stops responding, traffic naturally continues reaching the others). It isn't a sign of anything misconfigured; most high-traffic sites do exactly this.