Why DNS records are not resolved from the entries in /etc/hosts file ?
(Doc ID 2669319.1)
Last updated on MAY 18, 2020
Applies to:Linux OS - Version Oracle Linux 6.0 and later
Information in this document applies to any platform.
Although the domain name entry exists in /etc/hosts file, nslookup query or ping returns the ip address from the DNS server. The entry in the /etc/hosts file is ignored.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# ping <FQDN>
PING domain.com (y.y.y.y) 56(84) bytes of data
New nodes are added to the OCFS2 cluster.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document