The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
The /etc/resolv.conf
file defines how the
system uses DNS to resolve host names and IP addresses. This
file usually contains a line specifying the search domains and
up to three lines that specify the IP addresses of DNS server.
The following entries from /etc/resolv.conf
configure two search domains and three DNS servers:
search us.mydomain.com mydomain.com nameserver 192.168.154.3 nameserver 192.168.154.4 nameserver 10.216.106.3
If your system obtains its IP address from a DHCP server, it is usual for the system to configure the contents of this file with information also obtained using DHCP.
For more information, see the resolv.conf(5)
manual page.