/build/static/layout/Breadcrumb_cap_w.png

unable to ping with hostname centos

I have installed centos 7 on virtualbox and connected it to bridged network.

I am able to ping other windows network machines with ip address but not by hostnames.
I am able to connect to internet also.

Tried so far:

installed winbind as in [url]https://askubuntu.com/questions/23011/why-can-i-ping-via-ip-address-but-not-hostname[/url]
which worked for ubuntu but not here.

added  ‘wins’ where it says “hosts:” in /etc/nsswitch.conf
 but no use

someone suggested me to add entries in hosts file manually. But it is not practical to populate all the machines entries.

Any suggestions please.



0 Comments   [ + ] Show comments

Answers (1)

Posted by: c.castellari 5 years ago
Senior Purple Belt
1
You're using a wrong dns. WINS is deprecated and isn't useful for you

Comments:
  • can you suggest any other alternative - ur00361883 5 years ago
    • The only one answer is: use the same DNS. Or a well configured DNS - c.castellari 5 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ