LinuxQuestions.org
Visit Jeremy's Blog.
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 07-29-2004, 08:09 AM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Question /etc/resolv.conf and dhcp client


how can i make dhcpcd (on slackware) write the dns server addresses to a file of my choosing instead of the default /etc/resolv.conf???
 
Old 07-29-2004, 08:13 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I'm not sure this will work and be sure to make backups before you try! Delete the /etc/resolv.conf file and create a symlink to your file named /etc/resolv.conf But it'll probably save the rest as well which so it might not be what you want?
 
Old 07-29-2004, 08:19 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
thanks for your reply...

i actually have an existing /etc/resolv.conf that i need left alone, so i can't create that link...

this is my situation:

http://www.linuxquestions.org/questi...postid=1075930
 
  


Reply


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
DHCP client overwriting resolv.conf... how to stop it? gauge73 Linux - Networking 6 05-04-2005 11:51 AM
DHCP update resolv.conf forrestevans Linux - Networking 0 11-03-2004 09:12 PM
dhcp and resolv.conf naflan Linux - Networking 2 10-04-2004 07:48 PM
/etc/resolv.conf Pedroski Linux - Networking 1 06-22-2004 10:03 AM
dhclient reversing dhcp offer in resolv.conf zugwrack Linux - Wireless Networking 2 03-16-2004 09:34 AM

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

All times are GMT -5. The time now is 05:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration