π ~1 min read
Table of contents
Symptom & Impact
Hosts intermittently fail to resolve internal domains, breaking package and service dependencies.
Environment & Reproduction
Appears when /etc/resolv.conf points to unexpected stub resolver while NM pushes different DNS servers.
getent hosts repo.internal
cat /etc/resolv.conf
Root Cause Analysis
DNS management ownership is split between systemd-resolved and NetworkManager.
Quick Triage
Inspect resolver service state and NM DNS settings.
systemctl status systemd-resolved
nmcli dev show | grep DNS
Step-by-Step Diagnosis
Trace query path and compare configured upstream DNS endpoints.
resolvectl status
journalctl -u systemd-resolved -n 100

Solution – Primary Fix
Choose one resolver authority and align config files accordingly.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo systemctl disable --now systemd-resolved
sudo nmcli connection modify prod-lan ipv4.dns '10.0.0.10 10.0.0.11' ipv4.ignore-auto-dns yes
sudo systemctl restart NetworkManager

Solution – Alternative Approaches
Enable systemd-resolved intentionally and configure NM to use dns=systemd-resolved.
Verification & Acceptance Criteria
DNS lookups are consistent and low-latency for required zones.
getent hosts repo.internal
dig +short repo.internal
Rollback Plan
Re-enable previous resolver service mode if new configuration causes regressions.
sudo systemctl enable --now systemd-resolved
Prevention & Hardening
Standardize resolver architecture per environment and validate after network changes.
Related Errors & Cross-Refs
Related to split-horizon DNS, stale nscd caches, and DHCP-supplied DNS drift.
Related tutorial: View the step-by-step tutorial for rhel-10.
View all rhel-10 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
RHEL name resolution stack guidance with NetworkManager integration.
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.