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 48aca77d for ; Wed, 22 Nov 2017 12:46:50 +0000 (UTC) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id cb2a3ec7 for ; Wed, 22 Nov 2017 12:46:50 +0000 (UTC) Received: by mail-wr0-f182.google.com with SMTP id u40so14416841wrf.10 for ; Wed, 22 Nov 2017 04:51:57 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: d tbsky Date: Wed, 22 Nov 2017 20:51:56 +0800 Message-ID: Subject: Re: roaming and ddns dynamic ip To: "Jason A. Donenfeld" Content-Type: text/plain; charset="UTF-8" Cc: WireGuard mailing list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 2017-11-22 19:59 GMT+08:00 Jason A. Donenfeld : > Hello, > > This is not a bug. DNS resolution is not done by the WireGuard module, > but rather by the configuration tool. If you want to update an IP, > you'll need to devise a mechanism for this. One popular one is this > example script: > https://git.zx2c4.com/WireGuard/tree/contrib/examples/reresolve-dns , > but many other possibilities exist too. > > Jason I don't think it's a bug. as you said, that's by design.although it means I need other tool to co-maintain the vpn connection. if wireguard can be configured to disable roaming and always use the static dns name as endpoint, maybe the problem can be solved automatically. like openvpn can restart itself and resolve dns name again when connection is broken. but anyway I can live with the current situation. just need to figure it out. thanks a lot for your clarification! Regards, tbskyd