netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

Dealing with DDNS Endpoints / IP Changes

Open nashford77 opened this issue 3 years ago • 5 comments

As the other end may change IP's - do you have anything to detect when a link is down and to reconnect - when using a hostname, WG only looks once during SETCONF or SYNCCONF then never again and hence peers etc. become stale. Do you have any logic to address when IP's change for whatever the reason? We cant assume it to be static always these days & FQDN should not be a one time lookup.

nashford77 avatar Jun 24 '22 05:06 nashford77

We do not currently have any logic to check if IP behind an FQDN changes, though it makes sense to implement something for this.

afeiszli avatar Jun 27 '22 12:06 afeiszli

Is this issue available to work on?

Nike682631 avatar Aug 11 '22 19:08 Nike682631

It would be very useful - to be honest, wireguard itself should fix this as it's a general issue that it doesn't do a lookup more than once

On Thu, Aug 11, 2022, 3:58 PM Nikunj goyal @.***> wrote:

Is this issue available to work on?

— Reply to this email directly, view it on GitHub https://github.com/gravitl/netmaker/issues/1246#issuecomment-1212428892, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSSJU7ILOIAP6TEGDFDQS3VYVLNZANCNFSM5ZWTFRTA . You are receiving this because you authored the thread.Message ID: @.***>

nashford77 avatar Aug 11 '22 20:08 nashford77

@nashford77 Can you assign me to the issue? Also can you suggest me some references or material I can go through that would allow me to better dive into the codebase.

Nike682631 avatar Aug 12 '22 13:08 Nike682631

clone the repo and submit a PR against develop branch

mattkasun avatar Aug 12 '22 13:08 mattkasun