DNS Investigation
DNS Explorer
Records, the zone and nameservers that control a name, and its DNSSEC status as validated by a recursive resolver.
- DNS-over-HTTPS
- Answers from a validating resolver
Looking up DNS records…
Investigation of
Record sets
TTL = seconds left in the resolver’s cache, not necessarily the value configured in the zone.
Engineering guide
DNS records, resolution and DNSSEC
What is DNS?
The Domain Name System maps names to data. Most lookups ask for addresses, but the same system publishes mail routing, delegation, policy and verification records. The namespace is a tree split into zones; each zone is served by its own authoritative nameservers, and a parent zone delegates a child by publishing NS records for it.
How a DNS lookup works
An application asks a stub resolver, which forwards the question to a recursive resolver. On a cache miss the recursive resolver walks the delegation chain: the root servers refer it to the top-level domain, the TLD servers refer it to the zone’s authoritative nameservers, and those return the answer. Each answer carries a TTL, and the resolver reuses it until the TTL runs out. DNS Explorer asks public recursive resolvers over DNS-over-HTTPS (RFC 8484), so it sees what a validating resolver on the internet sees.
A and AAAA
An A record holds an IPv4 address; an AAAA record holds an IPv6 address. A name can have several of each. A name with both is dual-stack, and clients normally prefer IPv6 when it works (Happy Eyeballs, RFC 8305).
CNAME
A CNAME makes a name an alias: resolvers restart the lookup at the target, and the answer contains the whole chain. A name that has a CNAME cannot hold any other data, which is why a CNAME is not allowed at a zone apex, where SOA and NS records must exist (RFC 1034 §3.6.2, RFC 2181 §10.1). A CNAME whose target does not exist is dangling.
MX
MX records name the hosts that accept mail for a domain, each with a preference value. Senders try the lowest value first and use higher values as fallbacks; equal values share load. The target must be a hostname with its own A or AAAA records, not an alias (RFC 2181 §10.3). A single MX 0 . is a null MX: the domain accepts no mail (RFC 7505). With no MX at all, senders fall back to the domain’s own address (RFC 5321 §5.1).
NS
NS records list the authoritative nameservers for a zone. They appear twice: in the parent zone (the delegation) and at the zone apex (the authoritative copy). At least two nameservers on separate networks are recommended (RFC 2182). When a nameserver’s name is inside the zone it serves, the parent must also publish its addresses as glue.
TXT
TXT records carry free-form text and are used for SPF (v=spf1), DKIM keys, DMARC policies (published at _dmarc.) and domain-ownership tokens. Each record is one or more strings of at most 255 bytes; long values such as DKIM keys are split, and consumers join the strings back together. A name must not publish more than one SPF record (RFC 7208 §4.5).
SOA
Every zone has exactly one SOA (start of authority) record at its apex. It names the primary nameserver and the responsible mailbox (the first dot of the RNAME stands for @), and sets the serial number secondaries compare to detect changes, the refresh, retry and expire timers for zone transfers, and the minimum field, which today sets how long a negative answer (NXDOMAIN or no data) may be cached, capped by the SOA record’s own TTL (RFC 2308).
CAA
CAA records state which certificate authorities may issue certificates for a name (RFC 8659). The issue tag authorises a CA for ordinary certificates, issuewild for wildcard certificates, and iodef gives a contact for violation reports. A value of ; authorises no CA. CAs check the name and then its parents, so the closest CAA set up the tree applies; with none anywhere, any CA may issue.
TTL
The time to live is how many seconds a resolver may cache a record. Long TTLs reduce query load and make answers more resilient; short TTLs let changes take effect faster. Lowering a TTL ahead of a planned change only helps once the old, longer TTL has expired from caches.
DNSSEC
DNSSEC signs record sets so a validating resolver can prove they are authentic. The zone publishes its public keys as DNSKEY records and signatures as RRSIG records; the parent publishes a DS record, a digest of the zone’s key, which links the zone into the chain of trust from the root. A validating resolver reports one of three outcomes:
- Secure: the chain of trust validates; the resolver marks answers with the AD (Authenticated Data) flag.
- Insecure: there is no DS at the parent, so the zone is outside the chain of trust and its answers cannot be validated. Publishing DNSKEY records alone does not make a zone secure.
- Bogus: signatures or keys do not validate (for example an expired signature or a DS that matches no key); validating resolvers refuse the data and answer SERVFAIL.
DNS Explorer reports the status established by the upstream validating resolver; it does not verify signatures itself. It lists the AD flag, the DS records at the parent and the DNSKEY records at the zone as separate evidence, so “records present” is never presented as “validated”.
Common DNS errors
- NXDOMAIN
- The name does not exist at all (RCODE 3). If an alias pointed to it, the alias is dangling.
- NOERROR, no data
- The name exists but has no record of the requested type. This is not an error, and is different from NXDOMAIN. Some signed zones that use compact denial of existence also answer this way for names that do not exist at all.
- SERVFAIL
- The resolver could not produce an answer (RCODE 2): unreachable or misconfigured authoritative servers, a broken delegation, or a DNSSEC validation failure.
- REFUSED
- A server declined to answer by policy (RCODE 5), for example a nameserver that is not authoritative for the zone.
- Timeout
- No response arrived in time. DNS Explorer bounds every record type separately, so one slow answer does not hold back the rest.