openwrt 域名ping不通 修改dns

Posted xiaobo-linux

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openwrt 域名ping不通 修改dns相关的知识,希望对你有一定的参考价值。

问题

wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
wget: bad address downloads.openwrt.org
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz, wget returned 1.
 * opkg_download: Failed to download  

修改dns

vi /etc/resolv.conf。
修改内容为下
nameserver 8.8.8.8 #google域名服务器

 

以上是关于openwrt 域名ping不通 修改dns的主要内容,如果未能解决你的问题,请参考以下文章

Linux 能ping通ip但ping不通域名

linux ping通ip,ping不通域名

在linux上做了dns解析,为啥在客户端ping域名不通呢。ip能ping通

解决linux主机ping不通域名但是能ping通IP

linux中ping的通ip,ping不通域名

ping ip能ping 通 ping 域名ping 不通怎么回事?