At last!
I have stared long and hard at this code, and tried my best to break it
on various platform... and with v25, could no longer break it :-)
Tested on
- FreeBSD 13 (openresolv script)
- OpenBSD 7.6 + OpenSolaris (resolvconf_file script)
- Gentoo + Debian "testing" (systemd-dns script, /etc/resolv.conf updating)
- Ubuntu 20.04 (systemd-dns script, resolvectl part)
I have not found a Linux system with resolvconf, so that is not tested,
and I have not tested the more advanced systemd-dns/resolvectl features
(DoT, DoH, DNSSEC, different ports, split DNS - most of which are not
available on any other Unixoid system today). There might be surprises
lurking. More Linux+resolvectl testers welcome.
NOTE1: --dhcp-option DNS will *not* be passed to --dns-updown *yet*
(upcoming in #904)
NOTE2: do not use this together with --user <nonroot>, as it will change
your DNS config, and won't be able to restore it at openvpn end
(feature added in upcoming #839).
Your patch has been applied to the master branch.
commit fef5c4b4e8d22dd1ffd7271c8f27d7a91ac4f47f
Author: Heiko Hund
Date: Wed May 14 15:53:27 2025 +0200
dns: apply settings via script on unixoid systems
Signed-off-by: Heiko Hund <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg31639.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel