From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tbskyd@gmail.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 4e2ba369 for ; Wed, 22 Nov 2017 10:48:34 +0000 (UTC) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 84ec1d36 for ; Wed, 22 Nov 2017 10:48:34 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id l188so7616318wma.1 for ; Wed, 22 Nov 2017 02:53:40 -0800 (PST) MIME-Version: 1.0 From: d tbsky Date: Wed, 22 Nov 2017 18:53:39 +0800 Message-ID: Subject: roaming and ddns dynamic ip To: WireGuard mailing list Content-Type: text/plain; charset="UTF-8" List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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