I'm on Debian Jessie Linux with LXDE. I'm getting some strange behaviors with my networking. I essentially want to disable IPv6, use custom OpenNIC DNS, and network-manager-gnome for wifi management.

LXDE recommends wicd-gtk, but wifi does not work with it. No wifi networks show up, and my laptop wifi light stays orange (off) and does not change to blue (on). I'm not sure if it is me or my laptop's network card, but I installed firmware-realtek and wifi works with network-manager so I think it is just a bug with wicd.

The problem with network-manager though is that it overwrites /etc/resolv.conf with IPv6 DNS, even though IPv6 has already been disabled in /etc/sysctl.conf. I modified /etc/dhcp/dhclient.conf with supersede domain-name-servers opennicdns#1, opennicdns#2, etc. and removed the request domain-name, dhcp6.name-servers stuff, so the IPv4-only OpenNIC DNS works fine with wicd-gtk but not network-manager-gnome. What do I need to do so that network-manager uses the IPv4-only OpenNIC DNS?

Let me know if I need to provide any more information, and I will be glad to do so. Any help is greatly appreciated. Thanks in advance for your time!

1 Answer 1


Alright, I don't know what is wrong with network-manager, but to solve this I installed resolvconf. I removed all the other files in /etc/resolvconf/run/interface, and added the OpenNIC DNS to /etc/resolvconf/run/interface/NetworkManager. Ran sudo resolvconf -u afterwards, and double-checked it with DNSLeakTest. Everything seems to be working! Based off this answer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .