ip-up.d/0000usepeerdns shouldn't clobber /etc/resolv.conf (patch attached)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppp (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hullo, I was using ppp over a VPN link when I noticed that /etc/ppp/
This is bad because the VPN's DNS server only knows about internal domains, so I was unable to surf the net.
Here's a patch that causes the script to *add* the PPP link's dynamically-
This might get hairy if clients have more than one active PPP connection, but the 0000usepeerdns script doesn't look like it ever took that into account anyway. A cursory glance at /etc/ppp/0_dnsup (provided by the pppconfig package) looks like it does practically the same thing as 0000usepeerdns in a more robust way.
Causes ip-up.d/ 0000usepeerdns to concat /etc/resolv.conf and /etc/ppp/ resolv. conf when a ppp link goes up, instead of replacing /etc/resolv.conf's DNS servers. Adds nice comments to /etc/resolv.conf.