I had the same trouble with a new bare metal install. Found a solution in the net.


Check if your resolver service is running "sudo systemctl status systemd-resolved.service" .

Found out that...