Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-15-2004, 09:15 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
/etc/resolv.conf keeps changing

I have an adsl connection via ethernet on mandrake 10 ce. Everything works fine, except the specified dns in /etc/resolv.conf keeps changing from what I specified, to a different one - one that does not work. I have to keep changing it back. How can I keep it from changing? Please help.

Last edited by silvercastle; 04-15-2004 at 09:20 PM.
Old 04-15-2004, 09:58 PM   #2
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
#touch /etc/resolv.conf.good
#vi /etc/resolv.conf.good
(add the nameserver you want)
#vi /etc/rc.d/rc.local
add this line at the end:
cp -f /etc/resolv.conf.good /etc/resolv.conf
Old 04-15-2004, 10:51 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 26

Original Poster
Rep: Reputation: 15
excellent...that seems to have fixed it....thanx for your help


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who changes /etc/resolv.conf? lmp Debian 4 11-29-2005 08:08 AM
resolv.conf changing everytime network restart cuco76 Linux - Networking 4 11-29-2004 08:19 PM
/etc/resolv.conf mustangfanatic SUSE / openSUSE 5 10-18-2004 09:28 PM
/etc/resolv.conf Pedroski Linux - Networking 1 06-22-2004 10:03 AM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration