From bf0c1d588a9819e173be0023323cfeee4ec48933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Fri, 22 May 2020 15:34:40 +0200 Subject: [PATCH] Fix DNS resolution by including /etc/resolv.conf in jail --- isolated-protonmail-bridge.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/isolated-protonmail-bridge.sh b/isolated-protonmail-bridge.sh index 3ed6d1a..689bb88 100755 --- a/isolated-protonmail-bridge.sh +++ b/isolated-protonmail-bridge.sh @@ -16,6 +16,7 @@ nsjail -Mo --bindmount_ro /bin --bindmount_ro /sbin \ --bindmount_ro /usr --bindmount_ro /lib --bindmount_ro /lib64 \ --bindmount_ro /dev/null --bindmount_ro /dev/urandom --bindmount_ro /dev/random \ + --bindmount_ro /etc/resolv.conf \ --env HOME=/home/proton \ --env PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin \ -- ${BIN}