You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: /etc/resolv.conf Customizations Are Lost Periodically Or When Instance Is Rebooted

Applies to:

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

Information in this document applies to any platform.


Symptoms

Custom entries are removed from the /etc/resolv.conf file on a regular basis or when the Compute Instance is rebooted, thus loosing intended customization.


Changes

Changed /etc/resolv.conf in order to resolve company's domain,


Cause

By default, OCI services and dhclient will set /etc/hosts and /etc/resolv.conf at boot and when DHCP Lease is renewed.


Solution

NOTE: The IP addresses and host name used in this document, represent a fictitious sample (based upon made up data used in the test environment). Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!