CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2026/03/02 05:42:54
Modified files:
net/openvpn : Makefile
net/openvpn/pkg: PLIST
Added files:
net/openvpn/files: resolvd-dns-updown.sh
net/openvpn/patches:
patch-distro_dns-scripts_resolvconf_file-dns-updown_sh
Log message:
Add and hook up resolvd(8) DNS script, and enable dns-updown functionality
openvpn-2.7.0 comes with a system-specific DNS script whose role it to
update DNS resolver configuration on the client according to parameters
passed by the server. So far the script rewriting resolv.conf wasn't
run by default on clients, because that interfered with resolvd(8) which
is started by default.
Add a script handling the resolvd(8) case using route(8) nameserver.
Plug it into the default resolv.conf script if resolvd(8) is running.
If this behavior change doesn't suit you, please use "--dns-updown
disable" (documented in the manpage) and feel free to report your
specific use case.
Tested by landry and me, ok landry@