G
Guest
I'm trying to emulate passing the 'SERVER' parameter in an NSLOOKUP using the
Dns namespace, but I don't see anywhere this can be set.
For example, I may do this;
IPHostEntry ipEntry = Dns.GetHostEntry(strServerIP);
....but I want to specify WHICH DNS server to resolve against, not just the
default. From a command prompt I would do NSLOOKUP, then type SERVER [some
other NS]
Any help here? I don't HAVE to use GetHostEntry...I just need to resolve
IP/Hosts back and forth and SPECIFY the server to query, to test for
inconsistencies...
Thanks!
Dns namespace, but I don't see anywhere this can be set.
For example, I may do this;
IPHostEntry ipEntry = Dns.GetHostEntry(strServerIP);
....but I want to specify WHICH DNS server to resolve against, not just the
default. From a command prompt I would do NSLOOKUP, then type SERVER [some
other NS]
Any help here? I don't HAVE to use GetHostEntry...I just need to resolve
IP/Hosts back and forth and SPECIFY the server to query, to test for
inconsistencies...
Thanks!