I have some issue with my dns configuration, so I googled and picked up a solution by 1) editing /run/resolvconf/interface/NetworkManager
and 2) running sudo resolvconf -u
.
This helped a little bit, but the change of dns is not permanent, because I noticed that the dns I added to /run/resolvconf/interface/NetworkManager
always get lost in it after a reboot, and my dns would be reversed as before, which is simply 127.0.0.1
, the original one.
So why the content of /run/resolvconf/interface/NetworkManager
is changed? Or what's the mechanism behind its change?
/etc/resolvconf/resolv.conf.d/head
http://bit.ly/1KDG8vq I assume that's because it breaks the "pointer" logic of127.0.0.1
in/etc/resolv.conf
, which is used to call the specific dns configured for different connection in NetworkManager. But I'm not so sure about the assumption of this logic. For me Linux is a maze.. – philton May 30 '15 at 07:01