My Oracle Support Banner

Oracle Cloud Infrastructure /etc/resolv.conf Containing Multiple Entries for a Search Entries (Doc ID 2594446.1)

Last updated on SEPTEMBER 14, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux x86-64

Symptoms

ACTUAL BEHAVIOR
---------------
Multiple definitions created in /etc/resolv.conf across our Oracle Linux 6 and 7 instances.

[root@localhost]# cat /etc/resolv.conf
; Any changes made to this file will be overwritten whenever the
; DHCP lease is renewed. To persist changes you must update the
; /etc/oci-hostname.conf file. For more information see
;[https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm#notes]
;
; generated by /usr/sbin/dhclient-script
search domain.oraclevcn.com domain2.domain.oraclevcn.com
nameserver 16X.25X.16X.25X

search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com
search domain.oraclevcn.com domain2.domain.oraclevcn.com

Changes

 NA

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.