sudo systemd-resolve --set-dns=8.8.8.8 --interface=<interface name>
Source: networking – DNS issues after upgrading to 20.04 – Ask Ubuntu
networking – DNS issues after upgrading to 20.04 was last modified: December 25th, 2022 by
sudo systemd-resolve --set-dns=8.8.8.8 --interface=<interface name>
Source: networking – DNS issues after upgrading to 20.04 – Ask Ubuntu