Skip to contentSkip to conversation

Openresolv package is a requirement and should be added to install docs

DISCUSSION F 5 participants 5 messages Feb 28, 2019 – Mar 1, 2019

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · On Thu, Feb 28, 2019, 12:29 PM F <[email protected]> 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

That may be a requirement in the context that document was written for. But that is not a requirement for wireguard.

Quoted 1 line

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

#4 lore raw
In reply to F
Quoted 6 lines · On Thu, Feb 28, 2019 at 1:29 PM F <[email protected]> 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

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

#2 lore raw
In reply to Reuben Martin

I ran into this the other day, simply remove the DNS= line from your conf.

Probably should be documented that wg-quick will barf and tear down your interface if you have DNS= but not resolvconf command.

Quoted 7 lines · Reuben Martin
Quoted 4 lines · On Thu, Feb 28, 2019, 12:29 PM F <[email protected]> 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

Quoted 8 lines

That may be a requirement in the context that document was written for. But that is not a requirement for wireguard.

Quoted 1 line

_______________________________________________

WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard