π ~1 min read
Table of contents
Symptom & Impact
Name lookups intermittently fail, causing package downloads and API calls to fail unpredictably.
Environment & Reproduction
Use nmcli connection show and repeatedly query dig against internal and external hostnames.
Root Cause Analysis
DHCP overwrites static DNS, stale resolver cache, or split DNS options are misconfigured.
Quick Triage
Check resolvectl status, nmcli device show, and journalctl -u NetworkManager for lease events.
Step-by-Step Diagnosis
Review active profile DNS entries, verify search domains, and trace packet flow to DNS servers.

Solution – Primary Fix
Update profile via nmcli connection modify ipv4.dns and disable auto DNS if required, then reconnect.
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
Deploy local caching resolver and enforce nameserver policy through central DHCP controls.
Verification & Acceptance Criteria
dig and getent hosts return consistent answers and NetworkManager logs show no resolver churn.
Rollback Plan
Reapply previous nmcli profile settings and restart NetworkManager if connectivity regresses.
Prevention & Hardening
Template stable connection profiles and monitor DNS latency and SERVFAIL rates.
Related Errors & Cross-Refs
Related: Temporary failure in name resolution, Could not resolve host, and DNS timeout.
Related tutorial: View the step-by-step tutorial for rhel-8.
View all rhel-8 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Consult RHEL 8 NetworkManager and DNS resolver behavior documentation.
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.