---
title: "host: mirrorlist.centos.org; 域名解析暂时失败\""
author: "jisonami"
date: "2016-08-25T10:23:03Z"
tags: []
categories: ["操作系统"]
slug: "host-mirrorlist-centos-org"
draft: false
lastmod: "2016-08-25T10:23:03Z"
id: 2320107
url: "https://jisonami.iteye.com/blog/2320107"
---

yum makecache更新CentOS源时报错

> host: mirrorlist.centos.org; 域名解析暂时失败"

vi /etc/resolv.conf
添加一行
nameserver 8.8.8.8