Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Network & Infrastructure / DNS, DNSSEC & Service Discovery

SERVFAIL versus NXDOMAIN in outage diagnosis

An application treats every DNS error as a nonexistent service and suppresses retries. A resolver failure or validation problem should not be interpreted as an authoritative statement that the name does not exist.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Authoritative and recursive DNS infrastructure; BIND examples are conceptual and require release-matched configuration. Diagnostic/design example; not tested on production equipment.

What to check first

Capture response code, authority information, resolver logs and direct authoritative results. Test the same name through a validating and appropriately controlled diagnostic path without changing production trust policy.

What the results mean

NXDOMAIN expresses name nonexistence in the returned DNS context. SERVFAIL indicates an inability to complete resolution and can have causes such as upstream failure or DNSSEC validation error.

Plan the fix

Correct the demonstrated resolver or authority defect and make application error handling preserve meaningful distinctions. Avoid caching generic failures as permanent service removal.

Check the result and know how to undo the change

Verify known-positive, known-negative and deliberately failing test names. Revert application changes if they create uncontrolled retry storms or hide authoritative nonexistence behind endless transient-error retries.

Share this article

Back to all articles