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.