как обновить/etc/resolv.conf в человечности

Я внес изменения в "/etc/reslov.conf" и хочу к изменениям вступить в силу. Я попробовал после этого, но все еще никакого эффекта

$ sudo su
sudo: unable to resolve host accretive-new32GB-ephimeral-new
root@accretive-new32GB-ephimeral-new:/home/ubuntu# /etc/init.d/networking restart
root@accretive-new32GB-ephimeral-new:/home/ubuntu# exit
ubuntu@accretive-new32GB-ephimeral-new:~$ sudo su
sudo: unable to resolve host accretive-new32GB-ephimeral-new
root@accretive-new32GB-ephimeral-new:/home/ubuntu# resolvconf -u
root@accretive-new32GB-ephimeral-new:/home/ubuntu# exit
ubuntu@accretive-new32GB-ephimeral-new:~$ sudo su
sudo: unable to resolve host accretive-new32GB-ephimeral-new
root@accretive-new32GB-ephimeral-new:/home/ubuntu# service resolvconf restart
resolvconf stop/waiting
resolvconf start/running
root@accretive-new32GB-ephimeral-new:/home/ubuntu# exit
ubuntu@accretive-new32GB-ephimeral-new:~$ sudo su
sudo: unable to resolve host accretive-new32GB-ephimeral-new
root@accretive-new32GB-ephimeral-new:/home/ubuntu#

Изменения в reslov.conf:

nameserver 8.8.8.8    
2
задан 18 November 2015 в 15:26

0 ответов

Другие вопросы по тегам:

Похожие вопросы: