Development discussion of WireGuard
 help / color / mirror / Atom feed
* roaming and ddns dynamic ip
@ 2017-11-22 10:53 d tbsky
  2017-11-22 11:59 ` Jason A. Donenfeld
  0 siblings, 1 reply; 8+ messages in thread
From: d tbsky @ 2017-11-22 10:53 UTC (permalink / raw)
  To: WireGuard mailing list

Hi:
    I tried some setup for wireguard and found it may cause problem.
assume server has dynamic ip and has a static dns name
"ddns-server.example.com".

client.conf like below:
[Interface]
PrivateKey = ****
ListenPort = 51820
[Peer]
PublicKey = ****
Endpoint =  ddns-server.example.com:51820
AllowedIPs = 0.0.0.0/0

if I use "wg setconf wg0 client.conf", then use "wg showconf wg0", result below:
[Interface]
ListenPort = 51820
PrivateKey = ****
[Peer]
PublicKey = ****
AllowedIPs = 0.0.0.0/0
Endpoint = 1.1.1.1:51820

the "ddns-server.example.com" has translate to ip "1.1.1.1".

if later "ddns-server.example.com" change ip to "2.2.2.2", I wonder if
wireguard will try to resolve "ddns-server.example.com" again?  will
wireguard try to resolve  "ddns-server.example.com" again  when
connection is broken?

thanks a lot for help!!

Regards,
tbskyd

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-11-22 17:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 10:53 roaming and ddns dynamic ip d tbsky
2017-11-22 11:59 ` Jason A. Donenfeld
2017-11-22 12:51   ` d tbsky
2017-11-22 13:14     ` Jason A. Donenfeld
2017-11-22 15:49     ` Lonnie Abelbeck
2017-11-22 16:00       ` d tbsky
2017-11-22 16:39         ` Matthias Urlichs
2017-11-22 17:28         ` Bruno Wolff III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).