On Sep 04, Tj wrote:
> After some experimentation I've put together a small C helper program
> that reads DNS[12]= from the helper environment and uses DBus calls to
> set the per-link nameservers.
Since this is not performance critical maybe you could just call busctl
from a shell script?
--
Tj wrote:
> I've recently been building an embedded device to do (kernel-mode)
> PPPoE which uses only systemd-networkd + systemd-resolved (PC Engines
> APU2 with Ubuntu 18.04 - amd64).
...
> After some experimentation I've put together a small C helper program
> that reads
I've recently been building an embedded device to do (kernel-mode) PPPoE
which uses only systemd-networkd + systemd-resolved (PC Engines APU2
with Ubuntu 18.04 - amd64).
I discovered the ip-up.d/usepeerdns script doesn't support
systemd-resolved.
In this case /etc/resolv.conf was