linux DNS 设置

emerge 出错,自己以为网站被抢,发现原来DNS没有设置委屈,把DNS改成8.8.8.8就没事了


改   /etc/resolv.conf


# Generated by dhcpcd from wlp2s0
# /etc/resolv.conf.head can replace this line
nameserver 8.8.8.8
nameserver 8.8.4.4
# /etc/resolv.conf.tail can replace this lin

你可能感兴趣的:(linux DNS 设置)