📖 ~1 min read
Table of contents
Symptom & Impact
nslookup fails with SERVFAIL and apps cannot resolve hostnames; ssh by name hangs.
Environment & Reproduction
Hit after /etc/resolv.conf change, DNS server outage, or netsvc.conf ordering issue.
Root Cause Analysis
AIX resolver cannot reach configured nameservers or hosts file precedence is wrong.
Quick Triage
Run nslookup host server and host name with cat /etc/resolv.conf and /etc/netsvc.conf.
Step-by-Step Diagnosis
Inspect netstat -an | grep :53 and try dig if available to test recursion.

Solution – Primary Fix
Update /etc/resolv.conf with reachable nameservers and adjust /etc/netsvc.conf order.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Add critical entries to /etc/hosts as a stop-gap until DNS is restored.
Verification & Acceptance Criteria
nslookup returns answers under 200ms and apps resolve hostnames normally.
Rollback Plan
Restore previous /etc/resolv.conf from backup if new servers misbehave.
Prevention & Hardening
Use redundant nameservers and monitor query latency from each AIX LPAR.
Related Errors & Cross-Refs
Related to LDAP timeouts, NFS server lookups, and Kerberos KDC location.
Related tutorial: View the step-by-step tutorial for aix-7.1.
View all aix-7.1 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM AIX 7.2 resolv.conf and netsvc.conf reference.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.