编辑vim /etc/resolv.conf,改成DNS64地址:

nameserver   2001:67c:2b0::4
nameserver   2a00:1098:2c::1

然后刷新一下yum/apt缓存即可正常使用

#yum
yum clean all
yum makecache
#apt
apt-get update