Ubuntu 修改dns

/etc/resolv.conf  是从/etc/network/interfaces里面或者/etc/resolvconf/resolv.conf.d/base获得的信息


修改/etc/network/interfaces里面的 可以通过重启/etc/init.d/networking更新到/etc/resolv.conf



修改/etc/resolvconf/resolv.conf.d/base 可以通过重启/etc/init.d/resolvconf  更新到/etc/resolv.conf

你可能感兴趣的:(ubuntu,DNS配置)