LuGan
Try adding googles DNS server to raspberry pi.
nano /etc/resolvconf.conf
then add
name_servers=8.8.8.8
name_servers=8.8.4.4
save and restart.
If that wont work, try adding dns servers to resolve.conf,
nano /etc/resolv.conf
add nameservers:
nameserver 8.8.8.8
nameserver 8.8.4.4
Then lock the resolv.conf from beein overwritten during reboot
chattr +i /etc/resolv.conf
If you want to edit resolve.conf again, then type this to unlock.
chattr +i /etc/resolv.conf