[yum] Could not resolve host: mirrorlist.centos.org; Unknown error

这个时候,没有一个repo可以使用,只有0个软件,而且不能顺利解析mirrorlist.centos.org这个网址,初步怀疑它所有网站都不能解析

[yum] Could not resolve host: mirrorlist.centos.org; Unknown error

这就是DNS解析器的关系,所以在解析的配置文件修改一下

[yum] Could not resolve host: mirrorlist.centos.org; Unknown error

发现resolv.conf里面已经配置了,那应该是防火墙的问题,检查过后漏了这么一条

 

[yum] Could not resolve host: mirrorlist.centos.org; Unknown error

 

这条规则我也不是太清楚是什么意思,《鸟哥linux私房菜》里面说,这条规则可以让本机通过向外发出请求而响应的数据可以进入本机,以后搞明白了再补充

 

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2021-11-28
  • 2022-01-17
  • 2021-07-04
  • 2022-12-23
  • 2021-08-31
猜你喜欢
  • 2021-07-24
  • 2021-05-08
  • 2021-09-08
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案