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
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
|
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
Thursday, 06 June 2013, 18:52 GMT
Reason for closing: Implemented
Additional comments about closing: ppp 2.4.5-7
I have attached a simpler patch since we probably don't need to worry about where resolvconf is, given most other scripts.
- Naveen
ip-down.d.dns.sh.patch (0.4 KiB)