wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Dimitris Maroulidis <dmaroulidis@dimitrismaroulidis.com>
To: wireguard <wireguard@lists.zx2c4.com>
Subject: wg-quick on Ubuntu 18.04 LTS - resolvconf not available
Date: Mon, 06 Aug 2018 11:36:29 +0000	[thread overview]
Message-ID: <WsBaWBF1nQ303SujTkOr2f1Yh2IYWjruNQDQCZfH34vg0YGpTIfAQ2O4x-6Yj1vsidG7pCaWXx7WYykdo_9J8qh-I5ropI0Kiwq0creV3qg=@dimitrismaroulidis.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

Hi everyone,

I've noticed that wg-quick cannot initiate a new wireguard connection because it fails in the step where it pushes DNS nameservers to the system via resolvconf -A. The issue here is that resolvconf isn't shipped with Ubuntu 18.04, and DNS config is managed either by systemd-resolve on servers or desktops and by NetworkManager on desktops.

I think that systemd-resolve runs independently from NetworkManager and if the latter is used for networking management, the former, also provides DNS resolution.

Also, I've noticed that installing resolvconf or openresolv as was required in the past by the wireguard package, caused DNS resolution problems with the localhost and Docker containers.

Dimitris Maroulidis

PGP Key Fingerprint: 0x9A3AF9E170FC870FA3406D0A507892A78ADEC769

MiniLock ID: YtxUsikChj33QEau5GAcMzJ2UEwpTrJrMocD4uUGdNs7X

[-- Attachment #2: Type: text/html, Size: 891 bytes --]

                 reply	other threads:[~2018-08-06 11:25 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='WsBaWBF1nQ303SujTkOr2f1Yh2IYWjruNQDQCZfH34vg0YGpTIfAQ2O4x-6Yj1vsidG7pCaWXx7WYykdo_9J8qh-I5ropI0Kiwq0creV3qg=@dimitrismaroulidis.com' \
    --to=dmaroulidis@dimitrismaroulidis.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).