#22 - Configuring DNS on Linux - systemd edition
Long story short, it is no longer editing the /etc/resolved.conf directly (grrr)
Check your settings
sudo systemd-resolve –status
Specify the DNS server ip address in /etc/systemd/resolved.conf
Example:
[Resolve]
DNS = 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001
Restart the service
sudo systemctl restart systemd-resolved.service
-eof-