LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-23-2004, 02:35 AM   #1
smurf
Member
 
Registered: Apr 2001
Posts: 113

Rep: Reputation: 15
resolv.conf is rewritten on startup


Hi guys,

I setup the dns service a few weeks ago and everything has been running really good. Now I have had to reboot the server and I've noticed the resolv.conf does not have the Local DNS server in it anymore. It seems that the dhcp client on eth1 rewrites this on starup. So basically what I want to know is how do I insert my local dns server address at the top of the config file

I use slackware 9.0

Cheers all
 
Old 03-23-2004, 03:19 AM   #2
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
in your /etc/rc.d/rc.inet1 file, find the line that calls dhcpcd and pass it the -R option.

BTW, man is great
 
  


Reply



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
resolv.conf getting deleted at startup Caysho Mandriva 1 08-24-2005 09:44 AM
Sound muted at boot, ntpd.conf rewritten spaceballs Slackware 1 02-22-2005 01:14 AM
/etc/resolv.conf being rewritten at startup jawaking00 Linux - Networking 2 07-01-2004 08:17 AM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
Resolv.conf tristan_vdv Linux - Networking 2 11-20-2001 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:27 AM.

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