Open the following file:
sudo vi /etc/resolv.conf
Make sure the content of the file is as following:
nameserver 127.0.0.53
nameserver 8.8.8.8
We have added an additional enty nameserver 8.8.8.8
here apart from the regular one nameserver 127.0.0.53
.
You dont have to reboot after this change. It will take after within seconds.
You can do this change using the following command alone:
echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf
Hope this helped.