📖 ~1 min read
Table of contents
Symptom & Impact
Name lookups fail sporadically, affecting package downloads and external API calls.
Environment & Reproduction
Unreliable resolver order, DHCP overwrite, or upstream DNS packet loss.
Root Cause Analysis
Inspect nmcli device show and /etc/resolv.conf symlink target behavior.
Quick Triage
Run dig and getent hosts against each configured DNS server.
Step-by-Step Diagnosis
Set ipv4.dns and ipv4.ignore-auto-dns in nmcli profile to enforce known resolvers.

Solution – Primary Fix
Apply with nmcli connection down/up and validate stable query success.
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
Check NetworkManager logs for DHCP renewals overriding DNS settings.
Verification & Acceptance Criteria
Ensure outbound UDP/TCP 53 is permitted in relevant zones.
Rollback Plan
Tune resolver options only after fixing primary infrastructure issues.
Prevention & Hardening
Application latency and error rates increase due to repeated lookup retries.
Related Errors & Cross-Refs
Use multiple internal DNS endpoints and monitor response latency.
Related tutorial: View the step-by-step tutorial for rhel-9.
View all rhel-9 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Standardize DNS profile settings across RHEL 9 fleets via automation.
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.