big sigh and many questions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No t his is not the correct way to do this but it wi ll work.
When you use the usepeerdns option to pppd; it stashes the
dns server information in /etc/ppp/resolv.conf.
the scripts called as part of /etc/ppp/ip-up should copy this into a place
where the resolver can see them for example:
cp /etc/resolv.conf /etc/resolv.conf.org
cp /etc/ppp/resolv.conf /etc

and then in the /etc/ppp/ip-down set of scripts:
cp /etc/resolv.conf.org /etc/resolv.conf

Debian sources all scripts in t he /etc/ppp/ip-up.d directory as
part of /etc/ppp/ip-up script and t he same for
/etc/ppp/ip-down.d scripts.
this may help yo u figure out th e "right" thing to do wit h redhat.

Regards, Kerry.
On Thu, Oct 03, 2002 at 11:14:19PM -0600, William F. Acker WB2FLW +1-303-777-8123 wrote:
> Hi,
> 
>      Funny this should come up on the list. Jerry and I just discovered
> yesterday that PPP puts a copy of resolv.conf in the /etc/ppp directory.  
> I don't know for sure if this is the correct way to fix this, but it'll
> work.  Just copy the resolv.conf that ppp made when you last connected to
> your ISP to where the resolver expects it to be.  As root, do: "cp
> /etc/ppp/resolv.conf /etc", without the quotes, of course.  You'll be
> prompted to confirm the replacement of /etc/resolv.conf. Say y.  The next
> time you connect, you should be fine.
> 
> 
> 
> 
>           HTH.
> -- 
>           Bill in Denver
> 
-- 
Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux