Getting XMMS back to Debian/Ubuntu
Sunday, March 15th, 2009
X MultiMedia System, old, simple & light player

X MultiMedia System, old, simple & light player
There are many reasons why a user might want to use OpenDNS quality dns nameservers instead of service providers dns servers. Maybe the providers nameserver does not work that well, or maybe your country and/or provider is one of those who have set up domain name based internet content filtering that you want to pass - this is the case here in Finland where the claimed use is to prevent access to child porn sites but most of the sites filtered are not of that sort at all, many not even regular porn sites and sometimes there have been really bad mistakes (like w3c site ending on the list).
On opendns.org there is a simple guide on how to set Linux (there is one for Windows too) to use OpenDNS - all you have to do, according to the site, is to edit /etc/resolv.conf and replace IP’s on nameserver lines with ones of OpenDNS. While this works at least on Fedora (and supposedly on most other flawors of Linux), at least with Debian and Ubuntu there is an extra step. This one is for those using cable connection with DHCP:
1st. edit /etc/dhcp3/dhclient.conf and add followind line to end of file:
prepend domain-name-servers 208.67.222.222,208.67.220.220;
…then find the line starting with “request” that lists the information to read ask from DHCP server and remove the option “domain-name-servers“.
2nd. edit /etc/resolv.conf like instructed on opendns.org. Replace the nameserver lines with these:
nameserver 208.67.222.222
nameserver 208.67.220.220
edit: I’m not sure if the second step is needed or even effective on debian.
3rd. Now you could just wait until the information from DHCP gets renewed or to make the changes work instantly you can run:
/etc/init.d/networking restart
Notes: You need to get root access to edit the files and to restart networking.