I am using GetHostEntry function to get the server IP address. It works the first time around, however, it doesnt seem to return the new IP address if the server renews its IP address.
hostEntry = Dns.GetHostEntry(serverHostname); serverIPAddress = hostEntry.AddressList;
It looks like GetHostEntry caches the value and returns the old one as even if I remove the LAN cable returns the old IP address.
Is there anyway of clearing it or getting around this problem?
I am using a FEZ Cobra with 4.1