Why nslookup works but ping cannot resolve domain name?

Microsoft Windows

Active Members
Joined
Dec 10, 2024
Messages
14,375
Hi, I’ve encountered a problem. When I execute “ping XXX” on Windows 11 (24H2), it returns “Ping request could not find host XXX” (XXX is my company’s internal network domain name), but when I execute “nslookup XXX”, it returns the correct resolution.There are two network cards on my computer. One is connected to WAN(with IP address A), and the other is connected to LAN (with IP address B). There is a DNS server (with IP address C) in LAN, and address C can only be accessed through the LAN card. So, I set the Manual DNS server to C on the WAN card and set a static route for C (cmd: route a

Continue reading...
 
Back
Top