update-systemd-resolved
update-systemd-resolved copied to clipboard
Helper script for OpenVPN to directly update the DNS settings of a link through systemd-resolved via DBus.
I stumbled across update-systemd-resolved's accuracy in following [RFC5952 (A Recommendation for IPv6 Address Text Representation)](https://tools.ietf.org/html/rfc5952). [Section 4.1](https://tools.ietf.org/html/rfc5952#section-4.1) claims 'single 16- bit 0000 field MUST be represented as 0'. update-systemd-resolved exits...
when i tried running this in a container i was blocked by 2 things: 1/ use of logger (that points to /dev/log that does not exist in a container) 2/...
I added this as mentioned in instructions at end of my ovpn file after running make command. ``` script-security 2 up /etc/openvpn/scripts/update-systemd-resolved up-restart down /etc/openvpn/scripts/update-systemd-resolved down-pre ``` Trying to connect...
I'm on Linux Mint 18.3 ``` sudo openvpn --config pavlos.ovpn I get ... systemd-resolve: unrecognized option '--flush-caches' ```
Hi Sanitize $script_type with "declare -f" makes it easy to inject own functions. One could easily exploit the script. ex. mycat(){ /bin/cat /etc/openvpn/credentials/password; }; \ export -f mycat; \ export...
Hi, actually how do I integrate this script with NetworkManager ? Where should I put this script ? When running using cli to connect to openvpn, the script working and...
Would you accept Python version of Bash script?
There could be some improvements around the handling of the unit tests. Including: - [ ] Make `foreign_option_*` into an array: This will help with ordering, cleaning up after tests,...
### Version in use. _No response_ ### Your Linux distribution. Ubuntu 22.04 LTS ### Your systemd version. systemd 249 (249.11-0ubuntu3.12) ### Your network management software. Something else (please give details...
### Version in use. master ### Your Linux distribution. Arch Linux ### Your systemd version. systemd 256 (256.2-1-arch) ### Your network management software. NetworkManager ### Please describe the issue. I...