Solve Could not resolve host ‘mirrorlist.centos.org

Today in linux environment through the yum install software reported the following error:
[Root @ multi-mysql yum.repos.d] # yum install ncurses devel -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 – “Could not resolve host ‘mirrorlist.centos.org'”
Error: Can not find a valid baseurl for repo: base

From the literal sense is not to resolve mirrorlist.centos.org this address, it should be a relationship with the dns network configuration, DNS final solution is to increase the profile name resolution DNS server IP address:
[Root @ multi-mysql ~] # vim /etc/resolv.conf
nameserver 8.8.8.8
nameserver 202.106.0.20

Network Service Restart
[Root @ multi-mysql ~] # /etc/init.d/network restart
Shutting down interface eth0: [OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Determining if ip address 192.168.1.202 is already in use for device eth0 …
[OK]

Yum install again, normal
[Root @ multi-mysql ~] # yum install nmap -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* Base: mirrors.yun-idc.com
* Extras: mirrors.yun-idc.com
* Updates: mirrors.yun-idc.com
base | 3.7 kB 00:00
base / primary_db | 4.6 MB 00:01
extras | 3.4 kB 00:00
extras / primary_db | 33 kB 00:00
updates | 3.4 kB 00:00
updates / primary_db | 2.6 MB 00:00
Setting up Install Process
Resolving Dependencies
-> Running transaction check
—> Package nmap.x86_64 2: 5.51-4.el6 will be installed
-> Finished Dependency Resolution
…… Omitted here