nslookup.exe www.google.com 127.0.0.1
This command can resolve using DNS server 127.0.0.1, it\'s impossible to implement a full stack DNS protocol resolver in a 75.0
You can use the pExtra parameter to the DNSQuery function.
pExtra
DNSQuery
Apparently the MSDN documentation is incomplete, since it says this parameter must be null.
See http://support.microsoft.com/kb/831226 for an example of its use.