[System.Net.Dns]::GetHostAddresses("www.google.com")I always keep in my memory a public google DNS server.
google public DNS: 126.96.36.199But unfortunately there is no way for .NET to specify what DNS server use to resolve a host. The reason for that is because DNS.Resolve method relies on the internal Win32 APIs which in turn go through the DNS servers associated with the network connection. In order to change a DNS server one needs to change and configure a network adapter. Ech... I can tell that I am more a developer then admin :)