Answer the question
In order to leave comments, you need to log in
Why is the /etc/openvpn/update-resolv-conf script mentioned in the OpenVPN client config?
The official documentation https://openvpn.net/vpn-server-resources/connectin... mentions the script /etc/openvpn/update-resolv-conf
And for Linux clients it is recommended to specify the following in the config
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
if [ ! -x /sbin/resolvconf ] ; then
watch " systemd-resolve --status | sed "'"/DNSSEC NTA/,/^$/{//!d};/docker/,/^$/d;/enp/,/^$/d"'" | sed "'"/LLMNR/d;/MulticastDNS/d;/DNSOverTLS/d;/DNSSEC/d;/DNSSEC/d;/Domain/d"'" "
Answer the question
In order to leave comments, you need to log in
> for Linux clients, it is recommended to specify the following in the config
Not just for Linux, but for Ubuntu and Debian distributions.
In short, this is a crutch to solve the problem with DNS on these operating systems. If you don't have a problem, then you don't need to do anything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question