lost connection on dynamic IP

Roman Mamedov rm at romanrm.net
Thu May 20 16:20:56 UTC 2021


On Thu, 20 May 2021 11:15:30 +0500
Roman Mamedov <rm at romanrm.net> wrote:

> > So, what do you mean is that wireguard does a single DNS resolution at
> > the beginning and further DNS resolutions need to be done elsewere. Is
> > that correct?
> 
> Yes.

I also remembered a case where just PersistentKeepalive won't save you, and
periodic DNS resolution on clients becomes mandatory. It is when the server's
physical location gets a power cut. On new boot-up (and router power-on) it
gets a new IP from the ISP, and has no idea where all the clients are. The
communication is broken until clients recheck the DNS record and update the
server's endpoint from that. WG does not do this on its own.

-- 
With respect,
Roman


More information about the WireGuard mailing list