I am having some issues where the GetHostEntry function doesn’t return the NEW ip address after a DNS change has been done.
I have verified using NSLOOKUP on a PC against the same DNS server that the GHI module is using, and I get different results.
For me it looks like the System.dll function GetHostEntry caches the value and returns the old one…
This behaviour has been identified in 3.x runtime and in the latest 4.1 runtime.
Even changing DNS server in code - to point to another DNS server that also has the new value - doesnt help - it returns the old value.
Hell, even after removing the LAN cable the function returns the old value…