ソリューション:
vim /etc/resolv.conf
登録日:
nameserver 8.8.8.8 nameserver 8.8.4.4 search localdomain
解決策2:
systemctl restart network