Control: tags 930735 + moreinfo Hi Willem--
On Wed 2019-06-19 15:01:53 +0200, Willem van den Akker wrote:
> Add resolvconf as an optional dependency.
> If the DNS option is used in the config file and resolvconf is not installed
> wg-quick will return an
> error and the interface is not created.
>
> [#] ip link add wg0 type wireguard
> [#] wg setconf wg0 /dev/fd/63
> [#] ip -4 address add 192.168.3.21/32 dev wg0
> [#] ip link set mtu 1420 up dev wg0
> [#] resolvconf -a wg0 -m 0 -x
> /usr/bin/wg-quick: line 31: resolvconf: command not found
> [#] ip link delete dev wg0
Thanks for this suggestion! I'm willing to update the Suggests: of the
wireguard package if i understand more about what actually works in this
case.
Are you certain that debian's resolvconf will work for this? Upstream
has complained in the past about debian's implementation of resolvconf
being broken (iirc, about the -x flag, but i'm not sure). Would
openresolv's resolvconf be better?
What about when resolvectl(1) from systemd is symlinked as resolvconf
(see the resolvectl man page for more details) -- would that be
preferable? according to its documentation, it has partial support for
-x, plausible support for -a, and silently ignores -m. is that
sufficient? If that's ok, maybe there are other adjustments we can make
so that it integrates nicely with systemd-resolved.
More details about what configurations you've tested and how well they
work to do what you expect from wg-quick would help me understand how to
make this system integration work better for you.
all the best,
--dkg
signature.asc
Description: PGP signature

