How to set Systemd DNS servers for Ubuntu

With many linux systems moving from /etc/resolv.conf to systemd I was unsure how to set my DNS servers. Summary Add the following to /etc/systemd/resolved.conf: DNS= Then restart with: Check status You can use systemd-resolve –status or sudo resolvectl status to see the current status and should see “DNS Servers” listed. Using systemd-resolve –status | grepContinue reading “How to set Systemd DNS servers for Ubuntu”