[lug] DNS setup question for RedHat 9

Jeffrey Brown jabrown at co.jefferson.co.us
Mon Oct 11 16:10:43 MDT 2004


For RedHat type 'PEERDNS=NO' into
/etc/sysconfig/network-scripts/ifcfg-XXX (where XXX is whatever ethernet
interface is sending out the DHCP request, i.e. ifcfg-eth0).

>>> Ken Weinert <kweinert at gmail.com> 10/11/2004 1:04:19 PM >>>
       -R     Prevents dhcpcd from replacing existing /etc/resolv.conf
file.

Try setting that option when you use dhcp in your initialization.


On Mon, 11 Oct 2004 12:45:36 -0600, Michael Belanger <mrb at ciclops.org>
wrote:
> DHCP will control that file and populate it with whatever your DHCP
> server feeds it.  If you have a static IP, I suggest you setup your
> system manually and not rely on DHCP.. I am not certain that you can
> tell DHCP to *not* load anything other than IP and gateway.. but
perhaps
> that is an option.
> 
> 
> 
> 
> Record, James N wrote:
> > I tried this, but something creates a new resolv.conf
> > file at boot time and erases my change.
> >
> > Any ideas?
> >
> > Message: 4
> > Date: Tue, 5 Oct 2004 14:41:57 -0600
> > From: Joey McDonald <jmcdice at gmail.com>
> > Subject: Re: [lug] DNS setup question for RedHat 9
> > To: "Boulder (Colorado) Linux Users Group -- General Mailing List"
> >       <lug at lug.boulder.co.us>
> > Message-ID: <b0d0105804100513416282f6c1 at mail.gmail.com>
> > Content-Type: text/plain; charset=US-ASCII
> >
> > add the suffixes to your /etc/resolv.conf file like this:
> >
> > search domain.com sub.domain.com sub1.domain.com
> >
> >
> >          --Joey
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us 
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug 
> > Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 
> --
>
+----------------------------------------------------------------------
> Michael R. Belanger                    Yahoo!:  darthwonka
> DB Programmer                          MSN:    
mrbelanger at hotmail.com 
>                                         Jabber: 
mrb at jabber.ciclops.org 
> "We are the music makers,
> And we are the dreamers of dreams.." -Arthur O'Shaughnessy
(1844-1881)
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us 
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug 
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 


-- 
Ken Weinert   kweinert at gmail.com 
_______________________________________________
Web Page:  http://lug.boulder.co.us 
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug 
Join us on IRC: lug.boulder.co.us port=6667 channel=#colug



More information about the LUG mailing list