How to fix yum update could not resolve host on CentOS 7

 Fix yum update could not resolve host on CentOS 7


In this blog, I will show you how to fix yum update error could not resolve host on CentOS 7. Generally, this issue is caused due to the incorrect DNS settings on the server. To fix this update issue make sure that you have configured correct DNS settings on the machine

yum update


How to fix could not resolve host


You have to set correct DNS server address in these two files -

1. /etc/resolv.conf

&

2. /etc/sysconfig/network-scripts/ifcfg-eth0 (eth0 is my interface name in your case interface name may be different)


Video tutorial of this issue 



No comments:

Powered by Blogger.