Saturday, January 18, 2014

Specifying name servers with resolvconf

I finally figured out how I can tell resolvconf to preferentially add my favorite DNS servers before it adds name servers supplied by DHCP servers.

Create the file /etc/resolvconf.conf. If you use IPv6 and OpenDNS, the file should contain the following (all on one line):

name_servers="2620:0:ccc::2 2620:0:ccd::2 208.67.222.222 208.67.220.220"

No comments: