Thursday, July 30, 2020

How to workaround a software that only resolves the hostname once and then never again?

I have to use a software that only resolves a machines hostname once, so when the client switches from LAN to Wi-Fi/VPN the software can't reach the client anymore as it doesn't ask DNS for the new IP-address.

I was thinking to give the software one completely separate IP-address that isn't used yet and then just NAT the clients real IP-address, which I can get from the hostname, to that "virtual" IP-address that the software knows.

If that sounds doable, how would I accomplish this?

If you can think of different solutions, please do let me know.



No comments:

Post a Comment