Following the Debian NetworkConfiguration wiki, I've been trying to setup static OpenNIC DNS with no success. The first thing I tried was directly editing /etc/resolv.conf, but it keeps getting overwritten. The wiki page lists three possible sources of the overwrite:
- The
resolvconfprogram- The
network-managerdaemon- DHCP clients
$ apt-cache policy resolvconf
resolvconf:
Installed: (none)
Candidate: 1.76.1
Version table:
1.76.1 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
$ apt-cache policy network-manager
network-manager:
Installed: (none)
Candidate: 0.9.10.0-7
Version table:
0.9.10.0-7 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
Considering I don't have resolvconf or network-manager installed, we can assume the source is a DHCP client. I'm using wicd as an alternative to network-manager, but setting up static dns in the wicd-gtk properties doesn't work. Thus, I edited /etc/dhcp/dhclient.conf by adding supersede domain-name-servers 50.116.40.226;, but my /etc/resolv.conf is still:
$ cat /etc/resolv.conf
nameserver 2001:558:feed::2
nameserver 2001:558:feed::1
What is the hell is going on here? Should I install resolvconf to see if it will work? Should I give up on wicd and install network-manager?