NordSecurity / nordvpn-linux

NordVPN Linux client
GNU General Public License v3.0
287 stars 43 forks source link

Fix dns handling on headless/docker systems #315

Closed keliramu closed 4 months ago

keliramu commented 4 months ago

There could be a situation when systemd and resolvectl get installed in the docker image as a dependency e.g. openssh-server but is not active. Out DNS handling methods (one of them) was checking if resolvectl command is available in the system and then try to handle DNS settings using that command but it was non-functional. Implemented extra validation.