debian resolv.conf 重启丢失,现象,在使用curl ipinfo.io时,找不到主机
执行:
apt-get install resolvconf
在/etc/resolvconf/resolv.conf.d/base中增加:
meserver 8.8.8.8
nameserver 114.114.114.114
reboot
执行:
apt-get install resolvconf
在/etc/resolvconf/resolv.conf.d/base中增加:
meserver 8.8.8.8
nameserver 114.114.114.114
reboot