Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Michael Hicklen <michael@xfs.repair>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: WireDuard On-Connect DNS Lookup Failure (tries UDP/53, does not fail over to TCP/53)
Date: Fri, 25 Feb 2022 17:31:51 +0000	[thread overview]
Message-ID: <65VYfOmhDVJ1vrxWr5SuNQBkEUwy8XE6yXij13fOizK7JCUYLoSM_4SXFHM_rhz2JLgsSX0gidKKuEnH7TqxDuFkpQ2OMKXUHe-lgViMrBU=@xfs.repair> (raw)

Hi all,

I've noticed an issue today with WireGuard where it will fail to connect to a hostname when attempting to resolve DNS in a situation where UDP DNS lookups are disabled. This is reproducible by disabling UDP 53 egress, or by connecting to ExpressVPN first then trying to connect WireGuard to a server using a hostname.

This is an edge case, but I think it would be excellent if WireGuard were to attempt to fall back on TCP instead of failing out at the UDP lookup.

Note this is orthogonal to the endless requests for WireGuard to support TCP tunneling - that is not what I'm talking about here.

--
Michael Hicklen
michael@xfs.repair

                 reply	other threads:[~2022-03-14 17:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='65VYfOmhDVJ1vrxWr5SuNQBkEUwy8XE6yXij13fOizK7JCUYLoSM_4SXFHM_rhz2JLgsSX0gidKKuEnH7TqxDuFkpQ2OMKXUHe-lgViMrBU=@xfs.repair' \
    --to=michael@xfs.repair \
    --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).