Re: RFC: support setting DNS for systemd-resolved via DBus

2018-09-04 Thread Marco d'Itri
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? --

Re: RFC: support setting DNS for systemd-resolved via DBus

2018-09-04 Thread Michael Richardson
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

RFC: support setting DNS for systemd-resolved via DBus

2018-09-04 Thread Tj
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