Enable and start systemd-resolvd like this:
sudo systemctl enable systemd-resolved sudo systemctl start systemd-resolved
Where is the config file for systemd-resolvd????????
This is probably it:
Create manually on Arch? is it used on Ubuntu?????
ln -rsf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
An example config file:
[Resolve] DNS=192.168.35.1 fd7b:d0bd:7a6e::1 Domains=~.
You can check status with this:
- This is systemd-resolvd: 127.0.0.53:53
- Clients apparently access it as a regular DNS server.
|/run/systemd/resolve/stub-resolv.conf||points to resolved DNS server|
|/run/systemd/resolve/resolv.conf||points to real DNS server|