CentOS 6 Vs 7

Home » CentOS » CentOS 6 Vs 7
CentOS 3 Comments

Issue: After installing vms on vmware, I noticed a difference in behavior between CentOS 6 vs 7. On CentOS 6 I cannot ping the hostname and get a reply without first resolving in the /etc/hosts file by adding a new entry:
192.168.0.47 server1.example.com.

But for CentOS 7 I am able to ping the hostname and get a reply even when I
have not made any changes to the /etc/hosts file. Why is there this difference between CentOS 6 vs 7.

Thank you for your assistance.

3 thoughts on - CentOS 6 Vs 7

  • That sounds more like a questions for VMware forums than here.. something in vmware is populating some sort of ‘DNS’ for you to do this. I don’t know of any change in EL6 and EL7 that would do this by itselfd.