LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2006, 08:57 AM   #1
Awatemono-San
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
DNS settings


I have 2 linux systems in my network, one is running as a mono-wall and the other is a toy i am making. mono wall has a dchp server running but currently isnt passing dns settings. i dont wana touch the mono wall right now so how do i manualy set the dns settings on my toy but keep the dhcp for the ip?
 
Old 06-18-2006, 09:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dns settings live in /etc/resolv.conf, so you can add them there, but a dhcp client may well override these as a matter of course. there is always a way to avoid these being replaced, but if you aren't passing any dns options back i don't think it'd be an issue.

Last edited by acid_kewpie; 06-18-2006 at 09:06 AM.
 
Old 06-18-2006, 09:23 AM   #3
Awatemono-San
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
correction, it isnt passing dns settings correctly.
Its passing the wrong addresses.
will this fix you mentioned work even thought its passing the wrong dns entrys?
 
Old 06-18-2006, 09:24 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as above the dhcp client will probably overwrite each time. to this end you should be able to use an option from the manpage, often "-R" to prevent the overwrite. totally depends on which client you are using though.
 
  


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
DNS settings reach2paresh Linux - Enterprise 2 09-27-2005 04:49 AM
dns settings JoeUser11 Linux - Newbie 5 01-25-2005 05:27 PM
How to set DNS Settings VorlonShadow Linux - Networking 1 11-16-2004 12:59 PM
DNS settings stillme Linux - Networking 2 04-11-2004 03:40 PM
DNS Settings problem Tanc Linux - Networking 6 09-05-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration