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.
On Tue, 31 Mar 2020 at 13:22, Divine Tanyingoh dtanying@lakeheadu.ca wrote:
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.
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.
Thank you for your assistance. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Thanks
On Tue, 31 Mar 2020 at 11:26, Stephen John Smoogen smooge@gmail.com wrote:
On Tue, 31 Mar 2020 at 13:22, Divine Tanyingoh dtanying@lakeheadu.ca wrote:
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.
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.
Thank you for your assistance. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
-- Stephen J Smoogen. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Tue, 31 Mar 2020, Divine Tanyingoh wrote:
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.
Sounds like mDNS/Avahi is not being used/referenced on/by 6.
/mark