LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 09: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, 10:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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 10:06 AM.
 
Old 06-18-2006, 10: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, 10:24 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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


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

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

All times are GMT -5. The time now is 06:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration