Graham Doel
All About : Techy


My router keeps resetting the DNS settings.

By: Graham Doel, May 21st, 2007

I have started using opendns.com for my dns servers. It means that I can use the dns no matter which ISP I am using (handy on the laptop). However on the computer in the study, which like my laptop runs on Ubuntu, gets the dns settings from the router. The router has stopped forwarding the dns requests on to the ISP’s dns server (in short: the Internet’s broke).

I have set the dns servers to www.opendns.com’s servers 208.67.222.222 and 208.67.220.220
in the file /etc/resolv.conf.

Then I set the immutability bit so that nothing can over write the file with the routers ip address.

chattr +i /etc/resolv.conf

It’s a bit of a dirty hack because the computer is trying to get everything to be assigned by the DHPC, However dirty it may be, it worked! It is odd though because I haven’t had to do it on my laptop, I just set the DNS settings through the GUI and it has never complained.

Read "My router keeps resetting the DNS settings." in full. This post is filed in "Techy",

Leave a Reply