Oracle Linux 6 changes /etc/hosts after reboot

(Doc ID 1507979.1)

Last updated on DECEMBER 13, 2017

Applies to:

Linux OS - Version Oracle Linux 6.1 and later
Linux x86
Linux x86-64


 Server reboot in Oracle Linux  6 causes Network Manager to edit /etc/hosts file. For e.g. the  normal hosts file looks like below. 
$ more /etc/hosts       localhost.localdomain   localhost

After reboot, it changes automatically to:

[root@houvoapp1 ~]# more /etc/hosts       hostname       localhost.localdomain   localhost
::1     houvoapp1       localhost6.localdomain6 localhost6


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms