From 04d9cc8a92b0ad1c7b87ce59de9bd899b18fb374 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Sun, 23 Sep 2018 16:26:46 +0300 Subject: [PATCH] Misc cosmetical fixes --- openvpn-install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a4d93ce..9b8b5cd 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -104,16 +104,19 @@ prefetch: yes' >> /etc/unbound/unbound.conf sed -i 's|# hide-identity: no|hide-identity: yes|' /etc/unbound/unbound.conf sed -i 's|# hide-version: no|hide-version: yes|' /etc/unbound/unbound.conf sed -i 's|# use-caps-for-id: no|use-caps-for-id: yes|' /etc/unbound/unbound.conf - + fi elif [[ "$OS" = "arch" ]]; then # Install Unbound pacman -Syu unbound expat - #Permissions for the DNSSEC keys + + # Permissions for the DNSSEC keys chown root:unbound /etc/unbound chmod 775 /etc/unbound + # Get root servers list wget https://www.internic.net/domain/named.root -O /etc/unbound/root.hints + # Configuration mv /etc/unbound/unbound.conf /etc/unbound/unbound.conf.old echo 'server: