Re: Question on resolv.conf
From: Paul Colquhoun (postmaster_at_andor.dropbear.id.au)
Date: Wed, 16 Feb 2005 11:40:17 GMT
On Wed, 16 Feb 2005 05:39:26 -0500, red <email@example.com> wrote:
| HI. I'm new, but I'm learning fast. I had a problem where everytime I
| loaded a web page it would take for ever to "lookup" the address. I was
| advised to go to /etc/resolv.conf and update the DNS server. Actually
| it just required me eliminating the first choice on the list which was
| for whatever reason my router. So, I went in and moved that line to the
| bottom, and saved the file, and everything worked fantastic. Then later
| I shut down the computer. Next time I went to be on line, it was slow
| again. So I rechecked the resolv.conf file and the router line was
| back! It never saved it. I've tried eliminating the line, and no
| matter what I do, it won't permanently save it when I reboot. I suppose
| I could just keep the computer going all the time, or simply just edit
| the file before I start a session, but there's got to be a better way.
| By the way I am running Fedora.
The file is probably being redone by your DHCP client each time you
get assigned an IP address. Depending on what DHCP client you use, you
can put an option in it's config file to stop this happening.
-- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro