0

I have a Hyper-V Linx Ubuntu 20.04 VM I'm trying to ping a windows box in my domain via it's HOSTHAME.

I've followed some threads with this suggested fix:

sudo apt-get install libnss-winbind

I then updated /etc/nsswitch.conf to contain the following line:

hosts:          files dns wins

Now when I attempt to ping the windows machine by HOSTNAME, I get the following error:

ping SOMESERVER
ping:SOMESERVER: Name or Service not found

What do I need to do in order to get this to work? Are there additional configuration changes that I need to make?

Dave M
  • 4,514
  • 22
  • 31
  • 30
JohnB
  • 101

1 Answers1

0

Check your DNS servers / your DNS Suffix. You have have to ping the FQDN of the machine

jstuart-tech
  • 146
  • 5