openvpn-update-resolv-conf
openvpn-update-resolv-conf copied to clipboard
Restoring DNS does not work with --user nobody --group nobody
Just a small hint: You can't use this in combination with downgrading the group and user. When you quit OpenVPN or disconnect the script gets run as nobody, who does not have any permissions to change /etc/resolv.conf.
Yes, this is a known issue. Maybe I shall add some information about this on the README file.
Yeah I was having this problem for some years and have been manually setting my resolv.conf.
You can't use this in combination with downgrading the group and user.
You can if you also use down-root OpenVPN plugin.
:+1: @piotr-dobrogost
Thank you for the hint @piotr-dobrogost !