Skip to content

DNS Record Checker

Pure frontend: enter a domain, record type and resolver to get copy-ready dig / nslookup commands plus a reading checklist. Everything is assembled locally — no queries, no logging.

How to use

Enter a bare hostname (no https:// and no path), pick a record type and optionally name a resolver. Hit Generate commands and the page writes out the matching dig and nslookup forms along with hints for that record type. You run the commands in your own terminal; the page never runs them for you, and the reason is worth spelling out below.

Why this page does not hand you an answer

This is a deliberate line for this site, and an honest one is better than a vague one. Browsers do not expose an interface for sending raw UDP DNS queries, so a web page cannot assemble a DNS packet the way a terminal can. Sites offering "online lookup" typically relay the domain to a remote API or a DoH provider, which tells a third party what you were checking. This tool declines to do that: it writes the correct command, the command runs on your machine, and the answer lands only in your terminal.

That makes the useful part of this page two things. First, getting the command right — record type, server being asked, flags that show just the answer section — so nothing is mis-typed under pressure. Second, reading the output right: DNS responses carry a lot of fields, and usually only two or three of them decide the diagnosis.

Walk the record types instead of stopping at A

The usual habit is to query A, see an address and call it done. That skips a lot in modern deployments. The table below pairs each common type with the service it drives; walking it top to bottom beats relying on memory during an incident.

Type What it controls Typical symptom when wrong
A Hostname's IPv4 address Site still points at the old server, or at a CDN edge IP mistaken for the origin
AAAA Hostname's IPv6 address Site fails on IPv6 networks but works on IPv4
CNAME Alias to another hostname Conflicts with an A record, or points at a name that does not exist
MX Mail servers and their priorities Bounced mail, or messages delivered to the wrong provider
TXT SPF, DKIM, ownership proofs Mail lands in spam, third-party verification never passes
NS Which authoritative servers host the zone After a provider migration both old and new get asked, answers flip
SOA Zone metadata, serial, timers An unchanged serial means the zone file was never reloaded; negative TTL lives here too

Sites behind a CDN deserve special attention: an A lookup often returns an edge node, not your origin. When you see a CNAME pointing at a CDN hostname, head to the CDN console and inspect origin configuration — DNS has nothing left to tell you. Reversing that edge IP and comparing it to your origin only sends the investigation down a dead end.

Authoritative versus recursive: establish a baseline first

"DNS changes take ages" is a common complaint and a common misdiagnosis. Separate the two roles: an authoritative server holds the original records for your zone; recursive resolvers walk the chain for ordinary visitors and cache what they get. Which server you ask determines whether you see the source or someone else's copy.

Do not stop at A: list the records this hostname is supposed to have — A, AAAA, CNAME, MX, TXT, NS — and verify them one by one. The skipped types are where faults like to hide. The same principle applies to propagation: do not ask just one server. Get a baseline from the authoritative side, then compare it with a resolver's answer. If they agree, wait out the cache; if they disagree, go back and check the record itself. That ordering is the single most useful habit on this page.

In commands, that looks like dig @authoritative-server domain type for the source and dig @public-resolver domain type +noall +answer for what people receive. When several resolvers disagree, that is usually their remaining cache times, not a broken zone. Ask three or four public resolvers to see whether they have all moved to the new value.

TTL is not a number you can compare directly

The TTL in your control panel is the configured value. The TTL in a resolver's answer is how many seconds that cached copy has left. The same record returning 600 from the authoritative side and 213 from a resolver is perfectly normal — the two numbers describe different things. Query the same name a few times and the remaining value ticks downward; once it reaches zero the next answer jumps back near the original value. That countdown is caching made visible.

A practical consequence: lower the TTL ahead of a planned change, wait for one full old TTL to expire, then switch. Rollback stays easy too. Leave an old TTL of a day in place and different regions may reach the new address at different times for a full day — that is expected, not an outage. When you do lower it, allow at least one complete old TTL so resolvers have picked up the shorter value first.

Details that waste the most time

First, use a bare hostname. DNS knows nothing about https:// or URL paths; pasting a full address earns you an empty answer. Second, negative answers get cached too. Look up a name that never existed and resolvers keep the "does not exist" result for the period in the zone's SOA record; a newly created name can still hit that old negative answer. Third, your own machine can mislead you. Browsers cache DNS, the operating system runs a DNS client service, and hosts outranks all of them. Glance at hosts before anything else and you may skip an hour of pointless work.

Fourth, do not rely only on terse output. dig +short is fine for scripts but hides status codes and negative answers when a result comes back empty. For diagnosis go back to the full response and read the status field, authority section and additional section. Fifth, the Server and Address lines at the top of nslookup output identify the DNS server that answered you, not the web server. Copying that address as the site's IP is one of the classic beginner mistakes.

  • DNS resolution and caching — the full path from root servers to the authoritative answer, for understanding which layer returned what
  • DNS troubleshooting — layered ordering for stuck changes, partial propagation and mail failures

Official documentation