Comment 72 for bug 989900

Revision history for this message
jonathan (enlinea777) wrote :

MI solucion.
He visto que si agregas los dns-nameserver en interfaces esta no toma los server de resolucion de nombres

Gracias a la ayuda encontrada en esta pagina he resuelto el problema.
http://manpages.ubuntu.com/manpages/lucid/man8/resolvconf.8.html
Para hacer que resolv.conf no cambie cuando la editamos manualmente hacemos esto en la terminal:
sudo resolvconf --disable-updates
despues:
sudo resolvconf -a eth0 # o tu interfas de red
luego editamos manualmente /run/resolvconf/resolv.conf

agregando un maximo de 2 DNS servers.
saludos
P.D. no olvidar reiniciar:
sudo /etc/init.d/networking restart

English translation

my solution.
I noticed that if you add the dns-nameserver in interfaces that do not take the name resolution server
Thanks to the help found here have solved the problem.
http://manpages.ubuntu.com/manpages/lucid/man8/resolvconf.8.html
To make resolv.conf not change when we edit manually do this in the terminal:
sudo resolvconf --disable-updates
after:
sudo resolvconf -a eth0 # or your network Interfas

then manually edit /run/resolvconf/resolv.conf

adding a maximum of two DNS servers.
thanks
P.S. not forget to restart:
sudo /etc/init.d/networking restart