Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hosts file automatically resets

qazianeelAug 22 2013 — edited Aug 23 2013

Hello Experts,

I'm using Oracle Linux 6, my hosts file contains following entries:

127.0.0.1ora6.localdomainora6localhost.localdomainlocalhost
::1ora6.localdomainora6localhost6.localdomain6localhost6

192.168.0.13 ora6 ora6.localdomain

I'm trying to change it like:

127.0.0.1 localhost localhost.localdomain

192.168.0.13 ora6 ora6.localdomain

But after modifying it when I execute command service network restart or reboot system it resets the hosts file as it was before.

Regards

Aneel Ahmed

This post has been answered by botang(唐波) on Aug 23 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2013
Added on Aug 22 2013
5 comments
1,394 views