FS#23198 - [ppp] Add option to use openresolve to manage /etc/resolv.conf

Attached to Project: Arch Linux
Opened by Jesse Young (jlyo) - Wednesday, 09 March 2011, 03:47 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 18:52 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

dhcpcd has the nice beahvior of leaving resolv.conf management to /usr/sbin/resolvconf (openresolv) if it exists, and falling back to manual management if it doesn't. With non-trivial network configurations openresolv is necessary to maintain the user's prefered DNS servers. This is especially true for VPNs which use pppd.

Attached, I have a small patch which will prefer using resolvconf if it exists, otherwise it will fallback to its original behavior.

This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 06 June 2013, 18:52 GMT
Reason for closing:  Implemented
Additional comments about closing:  ppp 2.4.5-7
Comment by naveen (naveen) - Friday, 08 June 2012, 15:55 GMT
Jesse, thanks for the patch. I want to see this get in as well. This is one of the last packages holding out against resolvconf (and hence dnsmasq).
I have attached a simpler patch since we probably don't need to worry about where resolvconf is, given most other scripts.

- Naveen

Loading...