Why nslookup returns an IP Address yet ends in SERVFAIL
Issue
-
When running
nslookupfor a fully qualified domain name(FQDN), the command returns a validIPv4address but still ends with aSERVFAILerror.# nslookup subdomain.domain.com Server: 192.168.0.9 Address: 192.168.0.9#53 Non-authoritative answer: Name: subdomain.domain.com Address: 10.22.22.105 ;; Got SERVFAIL reply from 192.168.0.9, trying next server ** server can't find subdomain.domain.com: SERVFAIL -
The same
DNSquery may work withouterrorswhen performed fromWindowssystems.
Environment
- Red Hat Enterprise Linux 8+
- nslookup
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.