[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireguard
Subject:    Re: Openresolv package is a requirement and should be added to install docs
From:       Hayden Lau <lau.hayden () gmail ! com>
Date:       2019-02-28 18:49:36
Message-ID: CAPN0m0zzQR2q-PW5CqtSsr9FNU9AXjT6ao7gihbuG8nPLxchKw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Feb 28, 2019 at 1:29 PM F <finalcountdown@post.com> wrote:
>
> Learnt how to get WG working here
> https://github.com/StreisandEffect/streisand/issues/1434 and it
> describes how the openresolv package is needed to get WG to connect
> properly. This is not noted in the official WG docs and the average
> person would have difficulty figuring out why wg-quick doesn't connect.

The openresolv package is not a dependency of WireGuard. WireGuard itself
does not deal with DNS - the wg-quick tool simply sets up DNS servers for
wg interfaces for convenience. For example, I use Ubuntu 18.04 on my
laptop, and that distro uses systemd-resolvd. Therefore, I add the line
'PostUp = systemd-resolve -i %i --set-dns=193.138.218.74 --set-domain=~' to
my config file instead of the 'DNS = [DNS server here]' line.

Hayden

[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr"><div>On Thu, Feb 28, 2019 at 1:29 PM F &lt;<a \
href="mailto:finalcountdown@post.com">finalcountdown@post.com</a>&gt; \
wrote:<br>&gt;<br>&gt; Learnt how to get WG working here<br>&gt; <a \
href="https://github.com/StreisandEffect/streisand/issues/1434">https://github.com/StreisandEffect/streisand/issues/1434</a> \
and it<br>&gt; describes how the openresolv package is needed to get WG to \
connect<br>&gt; properly. This is not noted in the official WG docs and the \
average<br>&gt; person would have difficulty figuring out why wg-quick doesn&#39;t \
connect.</div><div><br></div><div>The openresolv package is not a dependency of \
WireGuard. WireGuard itself does not deal with DNS - the wg-quick tool simply sets up \
DNS servers for wg interfaces for convenience. For example, I use Ubuntu 18.04 on my \
laptop, and that distro uses systemd-resolvd. Therefore, I add the line &#39;PostUp = \
systemd-resolve -i %i --set-dns=193.138.218.74 --set-domain=~&#39; to my config file \
instead of the &#39;DNS = [DNS server here]&#39; \
line.<br></div><div><br></div><div>Hayden<br></div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div>




_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic