RH calls pump in ifup {interface} (/etc/sysconfig/network-scripts/ifup) to
do DHCP

do a:


man pump

It states that if you do not want to overwrite /etc/resolv.conf, put

nodns

in /etc/pump.conf

>From the man page:

      nodns  Don't  create  a  new  /etc/resolv.conf  when  this
              interface is configured. This directive may only be
              used within a device directive.



   Here is an example /etc/pump.conf:

       # sample /etc/pump.conf file

       domainsearch "my.own.org own.org at.work.com"
       retries 3

       device eth1 {
           nodns
       }


-- 

The answer to the meaning of life:
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

On Mon, 19 Jun 2000, Brian Wright wrote:

> Date: Mon, 19 Jun 2000 16:41:59 -0700
> From: Brian Wright <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: DHCP
> Resent-Date: 20 Jun 2000 00:06:14 -0000
> Resent-From: [EMAIL PROTECTED]
> Resent-cc: recipient list not shown: ;
> 
> I have the same problem.  :(  Which results in SLOOOW DNS lookups. 
> 
> -----Original Message-----
> From: Ray Parish [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 19, 2000 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: DHCP
> 
> 
> I have DSL at home. I use DHCP on my eth0 to connect to the DSL modem. I
> want to HARDCODE a default DNS server for the linux box. I put my entry in
> /etc/resolv.conf but everytime the interface renews the lease that file is
> overwritten.
> How can I leave a hardcoded DNS server in my resolv.conf.?
> Thanks
> Ray
> 
> 
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to