como atualizar o /etc/resolv.conf no ubuntu

2

Eu fiz alterações em "/etc/reslov.conf" e quero que as alterações entrem em vigor. Eu tentei seguir isso, mas ainda sem efeito

$ 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#

Altera para reslov.conf:

nameserver 8.8.8.8    
    
por Ashish Karpe 18.11.2015 / 12:48

0 respostas