@ak47lucas
I. Temporary DNS modification. (This change will be lost after a reboot)
Use vim /etc/resolv.conf to open the resolv.conf file.
Change the content to:
nameserver 8.8.8.8 #Change this to your primary DNS
nameserver 8.8.7.7 #Change this to your secondary DNS
II. Permanent DNS modification. (This change will not be lost after a reboot)
Use vim /etc/resolvconf/resolv.conf.d/base to open the resolv.conf file.
Enter the following:
nameserver 8.8.8.8 #Change this to your primary DNS