G
Guest
I have some c# code to perform DNS lookups but currently need to provide the
IP address of the DNS server it uses. I would like to be able to identify
the addres of the currently configured DNS server(s) and use this so that the
app will effectively configure itself.
Can anyone please tell me how I can do this, I know with .NET 2.0 and the
System.Net namespace Dns is available that can provide the IP address /
hostname of the system, but I need more than just this - I want the DNS
server.
Thanks in advance,
IP address of the DNS server it uses. I would like to be able to identify
the addres of the currently configured DNS server(s) and use this so that the
app will effectively configure itself.
Can anyone please tell me how I can do this, I know with .NET 2.0 and the
System.Net namespace Dns is available that can provide the IP address /
hostname of the system, but I need more than just this - I want the DNS
server.
Thanks in advance,