Solution:
vim /etc/resolv.conf
Joined:
nameserver 8.8.8.8 nameserver 8.8.4.4 search localdomain
Solution 2:
systemctl restart network