家中路由器 openwrt 只接 lan 口用, ping 不通域名无法自动安装 opkg,编辑/etc/resolv.conf 把 nameserver 指定为局域网网关可解(默认配置是 127.0.0.1),但是…
資深大佬 : cathedrel 6
但是重启机器后设置就没了,需要重新来一遍,请问怎么固化这个操作?
大佬有話說 (7)
但是重启机器后设置就没了,需要重新来一遍,请问怎么固化这个操作?
这个文件的内容 重启后就没了?会不会是你本地的 dnsmasq 服务没有启动 或缺少配置
resolv.conf is the name of a computer file used in various operating systems to configure the system’s Domain Name System (DNS) resolver. The file is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system. The resolvconf program is one such program on FreeBSD or other Unix machines which manages the resolv.conf file. (来自维基百科)