DNS issue: Can’t ping but nslookup works
DNS issue: Can't ping but nslookup works
You can do several things in this case. Start Services then recycle DHCP Client. ipconfig /flushdns and netsh int ip reset resettcpip.txt can fix this temporarily as well.
I've elected to simply stop DHCP Client and let the system do all lookups against my internal DNS servers.
This still leaves the problem of the DHCP Client not working correctly which I'm not 100% sure about.
Can lookup event viewer to determine the issue however there was nothing in event viewer for this.
Cheers,
TK
REF: https://merabheja.com/fix-nslookup-works-but-ping-fails-in-windows-10/