From: Lonnie Abelbeck <lists@lonnie.abelbeck.com>
To: Christian McDonald <rcmcdonald91@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: wg syncconf (and setconf) error when one or more endpoints is unresolvable
Date: Tue, 15 Jun 2021 08:23:59 -0500 [thread overview]
Message-ID: <B86BC46E-BBD1-4C0F-9193-7E6F31513E69@lonnie.abelbeck.com> (raw)
In-Reply-To: <CAHmME9qKqGkBp=JjQa0JdQGYa-YSZjdKADZ7k7KwZa1E4+FOOA@mail.gmail.com>
> On Jun 15, 2021, at 5:52 AM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> This is intended behavior. DNS resolution happens at config parsing time.
Christian,
While I appreciate Jason's strict DNS requirement, for the last 2.5 years our project has implemented a trivial patch [1] to ignore endpoint DNS failure. On a DNS failure, essentially ignoring the (optional) Endpoint= dns-hostname peer entry.
This has worked well for our use case. WireGuard always starts.
Lonnie
[1] Ignore endpoint DNS failure
https://github.com/astlinux-project/astlinux/blob/master/package/wireguard-tools/wireguard-tools-0001-ignore-endpoint-dns-failure.patch
next prev parent reply other threads:[~2021-06-15 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-15 8:35 wg syncconf (and setconf) error when one or more endpoints is unresolvable Christian McDonald
2021-06-15 10:52 ` Jason A. Donenfeld
2021-06-15 13:23 ` Lonnie Abelbeck [this message]
2021-06-15 15:07 ` Christian McDonald
2021-06-15 15:22 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B86BC46E-BBD1-4C0F-9193-7E6F31513E69@lonnie.abelbeck.com \
--to=lists@lonnie.abelbeck.com \
--cc=rcmcdonald91@gmail.com \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).