5 Replies Latest reply: Aug 23, 2013 8:53 AM by qazianeel RSS

    Hosts file automatically resets

    qazianeel

      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