Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

resolvconf: support Debian's broken resolvconf #702

Merged
merged 1 commit into from May 25, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions playbooks/roles/wireguard/templates/wg0-client.conf.j2
Expand Up @@ -5,8 +5,8 @@ Address = 10.192.122.2/32
#
# The IP address of the DNS server that is available via the encrypted
# WireGuard interface is {{ dnsmasq_wireguard_ip }}.
PostUp = echo nameserver {{ dnsmasq_wireguard_ip }} | resolvconf -a %i -m 0 -x
PostDown = resolvconf -d %i
PostUp = echo nameserver {{ dnsmasq_wireguard_ip }} | resolvconf -a tun.%i -m 0 -x
PostDown = resolvconf -d tun.%i
PrivateKey = {{ wireguard_client_private_key }}

[Peer]
Expand Down