Somehow I've clobbered my whole DNS system in 16.04.
I now must edit /run/resolvconf/resolv.conf
to add a name server such as
nameserver 8.8.8.8
or similar.
Of course, this always disappears after a reboot.
(And, yes, I KNOW I'm not supposed to hack it this way!)
NOTE: I'm accessing the router through wifi, not Ethernet.
I have tried editing /etc/NetworkManager/NetworkManager.conf
- it currently shows
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
I've tried commenting out the dns=
line but still the problem persists.
I have tried edited the ipv4 params in the wifi-settings, attempting to use either static or auto - but it's still no go after a reboot.
Currently my `/etc/network/interfaces shows
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
address 192.168.200.44
netmask 255.255.255.0
gateway 192.168.200.1
dns-nameservers 8.8.4.4**
I added the IP-data lines there as a last resort. Presumably, they mean nothing if I have used "loopback" instead of "static", right?
Ideally, I'd like to use DHCP instead of a static, but use my own nameservers such as google or OpenDNS.
So where can I look to see what the problem with BOTH my DNS and Static is?
And, yes, I have already tried the Automatic (DHCP) addresses only option as well, using both Google's AND OpenDNS's nameservers.
Seems to have no effect.
– aqk Nov 27 '16 at 18:53/etc/resolv.conf
is the one you manually entered? If you reboot and do not make the entry, you can't resolve IP addresses? Is the file a symbolic link?ls -al /etc/resolv.conf
Is Network Manager set to DHCP or static or addresses only with DNS specified? – chili555 Jan 07 '17 at 02:13