I'm running into a tough problem: With VPN for my employer's intranet, I cannot ping to a host "sensor-access01" on the Intranet. The same command:
ping sensor-access01
works in Windows CMD console with the expected replies:
Pinging sensor-access01.xxx.domain [10.1.242.50] with 32 bytes of data:
Reply from 10.1.242.50: bytes=32 time=13ms TTL=62
but in the Ubuntu/WSL I only got the error:
ping: sensor-access01: Name or service not known
I have made sure that the content of /etc/resolv.conf in the Ubuntu has the correct nameserves for the VPN, following the solution at WSL - DNS not working when connected to VPN by Donatello and I confirmed that the content of /etc/resolv.conf changes accordingly with the presence and absence of the VPN
I'm seeking advice to troubleshoot for a solution.
Here are a few potential suspicions.
ping dropbox.com
PING dropbox.com (162.125.248.18) 56(84) bytes of data.
^C
--- dropbox.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7007ms
The mystery is solved. Using the domain suffix of my employer, makes ping working:
ping sensor-access0.xxx.domain
where xxx
is the name of my employer's name.
I wish the error message would have been more helpful. Without the domain suffix, it used to work. I don't know what have changed.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments