#367715 ppp: overwrites /etc/resolv.conf despite "usepeerdns" being unset

Package:
ppp
Source:
ppp
Description:
Point-to-Point Protocol (PPP) - daemon
Submitter:
Toni Mueller
Date:
2015-04-11 03:03:05 UTC
Severity:
normal
#367715#5
Date:
2006-05-17 21:18:58 UTC
From:
To:

Hello,

apparently, pppd sets the environment variable USEPEERDNS regardless of
the option 'usepeerdns' being set or unset in a peer's configuration
file.

I have "/usr/bin/pppd call mypeer" and the usual settings, except that I
commented out usepeerdns in the peer's configuration file, but my own
nameserver settings in /etc/resolv.conf were overwritten with the
peer-supplied nameservers nonetheless. This prevents my own nameserver
settings from taking effect (unless I fix it up later in the process
which should not be neccessary).


Best,
--Toni++

#367715#8
Date:
2012-12-13 11:37:19 UTC
From:
To:
Do you still experience this bug with the current version of the ppp
package?

    #367715: ppp: overwrites /etc/resolv.conf despite "usepeerdns" being
unset

The current hook script /etc/ppp/ip-up.d/0000usepeerdns has

    [ "$USEPEERDNS" ] || exit 0

at the top which *seems* intended to avoid overwriting resolv.conf if
usepeerdns is not enabled.

#367715#13
Date:
2012-12-13 11:53:03 UTC
From:
To:
Hi,

I have not used the package for quite some time, therefore I cannot
make a useful statement about this problem.


Kind regards,
--Toni++

#367715#16
Date:
2012-12-13 11:53:03 UTC
From:
To:
Hi,

I have not used the package for quite some time, therefore I cannot
make a useful statement about this problem.


Kind regards,
--Toni++

#367715#21
Date:
2015-04-11 02:57:56 UTC
From:
To:
This problem can be solved running the command below

apt-get install resolvconf