systemd-resolved falls back to Google public DNS servers
Issue
-
DNS requests are directed to Google public DNS servers .
-
The following entry is logged in messages log:
Jun 18 08:01:56 rhel7 systemd-resolved: Switching to system DNS server 8.8.8.8.
Environment
- Red Hat Enterprise Linux 7 (RHEL 7)
- systemd-219.X
- systemd-resolved-219.X
-
systemd-resolved is installed and enabled in
/etc/nsswitch.conf:hosts: files dns resolve - nameserver setting is missing in
/etc/resolv.conf - DNS setting is missing in
/etc/sysconfig/network-scripts/ifcfg-*
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
