This uses nsswitch.conf and then resolv.conf as required. – Joe Nov 5 '09 at 19:08. add a comment | 9. Thanks for the answers you guys! It was the nsswitch.conf file. I had setup LDAP from a tutorial that told me to use this line in hosts: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

Chapter 24. Manually configuring the /etc/resolv.conf file For details about parameters you can set in /etc/resolv.conf, see the resolv.conf(5) man page. For further details about why NetworkManager does not process DNS settings if /etc/resolv.conf is a symbolic link, see the description of the rc-manager parameter in the NetworkManager.conf(5) man page. How to make persistent changes to the /etc/resolv.conf DNS servers in /etc/resolv.conf change after a reboot or network service restart resolv.conf gets overwritten Why do entries in /etc/resolv.conf get cleared after a system reboot? How to make permanent changes to the /etc/resolv.conf? Reboot removes or changes entries in /etc/resolv.conf Why option rotate in resolv.conf picks up second If we have for example the following in resolv.conf: # cat /etc/resolv.conf options rotate nameserver 192.168.1.5 nameserver 192.168.10.10 nameserver 192.168.20.20 # The bellow shows the sequence of nameservers in the list before the rotation happens and before any of the nameservers get contacted for the first time - we can see the correct

Regardless of the distribution of Linux that you are using (such as Ubuntu, CentOS, Debian, Arch, Redhat, etc), the process of determining what DNS servers are currently being used for domain name resolution is the same. To determine what DNS servers are being used, you simply need to view the contents of the “/etc/resolv.conf” file.

Sep 02, 2019 Re: configuring resolv.conf

The Non-complexity of /etc/nsswitch.conf - Red Hat Developer

Red Hat Customer Portal