How to get IP Address which has DNS (Specified)?, because it connected to specific domain network. Which i can view in command prompt using command "ipconfig /all"
Seperately i can retrieve the DNS server and its IP Addresses, HostName and its IP Addresses.
I would like to get the IP Address of hostmachine which has the DNS server name.
Code used,
string domainName = IPGlobalProperties.GetIPGlobalProperties().DomainName;
if (domainName == "oogway.net")
{
//IP Address of hostmachine
}
Image reference about to get IP of domain name:
I want to get only this IP address which is connected to network. Other VM IP Addresses are my machine which does not has domain name "oogway.net"
Image reference Other IP in same machine:
Thanks