On Saturday 21 June 2003 21:14, Shachar Shemesh wrote:
> Guy Cohen wrote:
> >On Sat, Jun 21, 2003 at 07:58:26PM +0300, Amichai Rotman wrote:
> >>How can I find out what causes this overwrite? I looked at the logs,
> >
> >Use common sense... If that happen *after* you run a script... What
> >can cause that.. hmm
>
> Not a very good lead, in this case.
>
> The script does not alter /etc/resolv.conf directly. It does call pppd,
> which may update this file itself, I guess. Looking at the logs, it is
> clearly visible that the right DNS servers are handed with pppd. I am
> out of ideas as for why it pushes that name.
>
> I'll add that I'm remotely administrating the machine that happens on.
> This means I cannot recheck this, as I'll lose the IP it currently uses.
> Any good dynamic DNS howtos around?
>

Again. There are precisely two places that deal with resolv.conf:

1) Your dhcpcd that periodically renews leases. Yes, it's stupid. As I told 
before, I use -R command line option to prevent dhcpcd from overwriting 
/etc/resolv.conf

2) pppd's ip-up and ip-down *or* pppd itself. See "usepeerdns" options of pppd 
and distro-specific script variables.

>           Shachar

-- 
Mix Sella (well, not really but hey)

This mail was checked for viruses by Romat email server


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to