--- Mark Krischer <[EMAIL PROTECTED]> wrote:
> but i still need to get DNS information initially. 
> i thought leases
> lasted for at least a day?  i seem to be getting
> renewed every few
> minutes.
> 
> well, i'll give it a try tonight.
> 
> thanks.
> 
> --mk
> 
> On Tue, 2002-11-05 at 01:55, Pavel Rozenboim wrote:
> 
> > You can disable it either by setting PEERDNS=no in
> > /etc/ssyconfig/network-scripts/ifcfg-<interface>
> or by unchecking
> > "Automatically obtain DNS information from
> provider" in
> > redhat-config-network tool. I think dhclient
> rewrites resolv.conf
> > every time it renews a lease (usually 1/2 of lease
> time, but depends
> > on DHCP server).
> > 
> >         -----Original Message-----
> >         From: Mark Krischer
> [mailto:mkrisch@;cisco.com]
> >         Sent: Mon, November 04, 2002 5:00 PM
> >         To: [EMAIL PROTECTED]
> >         Subject: dhclient and resolv.conf autogen
> >         
> >         
> >         i'm using dhclient which autogenerates
> resolv.conf.  i'm also
> >         using the cisco vpn client which
> overwrites resolv.conf.
> >         
> >         every so often, it looks like something is
> overwriting
> >         resolv.conf with the one gotten as part of
> the lease. does
> >         anyone know how to disable this?  the
> effect is that my vpn
> >         link stops working what seems like every
> few minutes until i
> >         recopy a backup over resolv.conf.
> >         
> >         i can see resolv.conf being generated by
> dhclient-script, but
> >         i couldn't see what was calling it so
> regularly.
> >         
> >         TIA
> >         
> >         --mk
> >         
> 


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/




Reply via email to