]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
Use resolvectl for systemd-resolved
authorFlorian Domain <f.domain@criteo.com>
Mon, 10 Aug 2020 12:13:26 +0000 (14:13 +0200)
committerFlorian Domain <f.domain@criteo.com>
Mon, 10 Aug 2020 12:13:26 +0000 (14:13 +0200)
commitb28718bc8dbb381e54302241afdda29dd9772751
tree475e64a2aaeb51f039bbc5365ea6b8e908664af1
parent9fe469a75a9496db197d1c5093e94522e350cd88
Use resolvectl for systemd-resolved

- resolvectl is embedded in systemd-resolved and is more simpler
to use than calling directly busctl as we don't have to format IPs or
specify which address family it belongs.
- fix IPv6 nameserver, address family was previously hardcoded to IPv4
so the call to the busctl was failing.
vpnc-script