[raw]
mkdir -p /etc/run/systemd/resolve
ln -sr /etc/run/systemd/resolve/resolv.conf /etc/run/systemd/resolve/stub-resolv.conf
[/raw]
nameserver 1.0.0.1
[/raw]
ln -sr /etc/run/systemd/resolve/resolv.conf /etc/run/systemd/resolve/stub-resolv.conf
[/raw]
Now add a nameserver to stub-resolv.conf
[raw] nameserver 1.1.1.1nameserver 1.0.0.1
[/raw]