When running nslookup google.com in cmd on my corporate laptop I get nxdomain but how come does the page open then in my web browser? Can anyone please explain? Thank you.
The reason that nslookup doesn't work could be that it is a specially crafted version of nslookup. Another more likely explanation is that the network and/or DNS server is configured to forge DNS responses. Software installed on the laptop itself may facilitate this forging of DNS responses.
One possible reasons the browser works when nslookup doesn't is that the browser is using a proxy. Another possible reason is that browsers will usually use IPv6 by default if it is available but nslookup will by default look up A records. It may be that the forging only happens for A records and not for AAAA records.