How to Configure /etc/hosts, /etc/resolv.conf and DNS Resolution on RHEL 8
Reliable name resolution is essential for almost every networked service on a Linux server. Red Hat Enterprise Linux 8 gives you several places to configure how hostnames are resolved: the static /etc/hosts file, the resolver configuration in /etc/resolv.conf, the look-up order defined in /etc/nsswitch.conf, and DNS settings managed through NetworkManager. Knowing how these layers interact […]