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++
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.
Hi, I have not used the package for quite some time, therefore I cannot make a useful statement about this problem. Kind regards, --Toni++
Hi, I have not used the package for quite some time, therefore I cannot make a useful statement about this problem. Kind regards, --Toni++
This problem can be solved running the command below apt-get install resolvconf