You need to setup dns for your home site then use that to connect. Or you need to synchronize the endpoint out of band. I can't imagine this is something wg wants to tackle--this is a general problem all software encounters.

On Tue, Jan 15, 2019 at 10:52 PM Fabian Schwamborn <fabian@familie-schwamborn.com> wrote:

Hello,

 

I have a suggestion for improving the Android app or would like to ask if such a change would be desirable in general (e.g. pull request):

I'm using Wireguard as a connection between my home router and my mobile phone, but unfortunately I don't have a fixed IP address. As soon as the IP address changes, the app does not reconnect. (Happens once a week)

Is it possible to integrate a function into the app, that pings through the tunnel so that you can perform a keep-alive check and reconnect the tunnel completely after a failure (including DNS request)?

Is it conceivable, to implement a DNS-check function in the app? (E.g. like the existing example DNS check script for Linux works?)

Then the app would have the same functionality as my previous IP-Sec client. This would also allow better coverage of failover IP scenarios.


Best Regards 

Fabian

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard