What the message looks like
DNS_PROBE_FINISHED_NXDOMAIN – ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41382Common causes
- Typo in the hostname, or the record was created in the wrong zone (e.g. www.example.com.example.com).
- The record has not been created yet or was forgotten during a move.
- Domain expired, or name servers not (or no longer) correctly set at the registry.
- Negative cache: a resolver stored the NXDOMAIN; the SOA minimum value sets how long.
- Local causes: /etc/hosts, VPN with split DNS, Pi-hole or a corporate resolver blocking it.
Check
- Show status and authority section of the answer
- Check the delegation at the TLD
dig example.com NS +short @$(dig +short NS com. | head -n 1) - Ask the authoritative name server directly
dig www.example.com A +short @$(dig +short NS example.com | head -n 1) - Check domain status and expiry
whois example.com | grep -iE 'status|expir|name server'
Fix
- Use the authoritative server's answer as reference – if it returns the record, it is a caching issue.
- Create the missing record; in zone editors usually enter just
www, not the full name. - Renew an expired domain at the registrar and check the NS records.
- With negative caching wait (SOA minimum) or flush local caches:
resolvectl flush-caches. - Before a move export all records and test them against the new name server afterwards.
Typical scenario
An admin creates an A record for shop.example.com in the registrar's control panel, yet the browser shows 'DNS_PROBE_FINISHED_NXDOMAIN'. The domain's name servers, however, are at a different DNS provider and the zone there does not know the entry. Ask the responsible name servers directly with dig +short NS example.com and then dig shop.example.com @ns1.provider.com. That shows in which zone the entry actually has to live.
FAQ
How long does an NXDOMAIN stay cached?
As long as the SOA minimum field or SOA TTL says, often 300 to 3600 seconds. Only then does the resolver ask again.
How is it different from SERVFAIL?
NXDOMAIN means the name definitely does not exist. SERVFAIL means the resolver could not get a valid answer, e.g. due to DNSSEC or unreachable name servers.
Why do I still see NXDOMAIN after creating the entry?
Resolvers also cache negative answers. How long is set by the value in the zone's SOA record (negative TTL). If you queried the name beforehand, you get the old NXDOMAIN until the cache expires. Locally resolvectl flush-caches helps; for third-party resolvers you can only wait.
How does NXDOMAIN differ from 'NOERROR with no answer'?
NXDOMAIN says the name does not exist at all. If the server answers NOERROR with an empty answer section (NODATA), the name exists but not for the requested type, such as AAAA for a name with only an A record. Troubleshooting differs.
Can a typo in the record itself be the cause?
Yes, more often than expected. A forgotten trailing dot in zone files or a doubly appended domain name produces names like shop.example.com.example.com. The output of dig AXFR, or the zone view in the panel, shows how the name really reads.