I'm connecting a single server at Site 1 with my Azure virtual network ( via a Point-To-Site VPN connection (

The problem is that each time the connection drops and is re-dialed, the client's IP changes. I need to connect to the single server from a server on my Azure network.

I do have a DC running DNS on my Azure network. Is there a way to configure my DNS server to allow my Machine1 at to connect to Machine2 and it route properly to

  • crap workaround: if you only have 1 ip to keep track of, try adding several entries to the hosts file pointing to the same server. Something like: srv01, srv02 ... and so on for at least the first 10 possible ips of the vpn range. Worked for a use case of mine. Takes a few seconds to 1-2 minutes to refresh internal dns once the vpn reconnects. – Bruno Faria Jan 16 '16 at 19:36
  • can't edit comment, i meant srv01, srv01, always pointing to the same server no matter the ip. – Bruno Faria Jan 16 '16 at 19:52
  • Appreciate the thought. I tried to simplify for example sake, but I actually have a handful of servers on both sides, individually connected by client VPN, so that won't work :-( – Phil Figgins Jan 16 '16 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.