📖 ~1 min read
Table of contents
Symptom & Impact
Hosts cannot resolve internal or external domains, breaking package updates and service calls.
Environment & Reproduction
Use resolvectl status, nmcli dev show, and dig queries to validate resolver configuration and reachability.
Root Cause Analysis
Incorrect DNS servers in NetworkManager profile or blocked outbound DNS traffic.
Quick Triage
Set correct DNS via nmcli connection modify, reactivate connection, and verify /etc/resolv.conf behavior.
Step-by-Step Diagnosis
Capture failing lookup examples and current resolver source before modification.

Solution – Primary Fix
dig and getent hosts return valid records with low query latency.
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
Test application dependencies and dnf operations that previously failed due to DNS errors.
Verification & Acceptance Criteria
Define resilient resolver pairs and monitor DNS health from server segments.
Rollback Plan
Revert to previous DNS settings if new resolver pair degrades service discovery.
Prevention & Hardening
Template NetworkManager DNS settings per site and role using automation.
Related Errors & Cross-Refs
Check journalctl -u NetworkManager and resolver-specific diagnostics.
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
Provide nmcli profile output, query failures, and firewall egress policy details.
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.