From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b2f06ff5 for ; Thu, 21 Jun 2018 23:51:14 +0000 (UTC) Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id a006aad4 for ; Thu, 21 Jun 2018 23:51:14 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 50c47466 for ; Thu, 21 Jun 2018 23:49:59 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id fcf6cd20 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 21 Jun 2018 23:49:59 +0000 (UTC) Received: by mail-ot0-f172.google.com with SMTP id l15-v6so5557718oth.6 for ; Thu, 21 Jun 2018 16:56:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Fri, 22 Jun 2018 01:55:56 +0200 Message-ID: Subject: Re: Is a hostname a valid value value for Endpoint? To: jonathan@jonathanhult.com 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: , The endpoint can contain a domain, yes. However, the correct behavior is to look up that domain using the DNS server that exists prior to turning on WireGuard. Otherwise you'd have a chicken&egg problem with tunnel-only accessible DNS servers.