wiiiiinnnnnnnssoooooock
(Ok see namespace service providers for the real answer. Also use the powershell resolve-dnsname for the nslookup equivalent through the winsock stack.)
https://learn.microsoft.com/en-us/windows/win32/winsock/name-space-service-providers-2