Why nslookup returns an IP Address yet ends in SERVFAIL

Solution Verified - Updated -

Issue

  • When running nslookup for a fully qualified domain name (FQDN), the command returns a valid IPv4 address but still ends with a SERVFAIL error.

    # 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 DNS query may work without errors when performed from Windows systems.

Environment

  • Red Hat Enterprise Linux 8+
  • nslookup

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content