From e619c4375f498856881de852fe4fe6590fd5314e Mon Sep 17 00:00:00 2001 From: Francois Lesueur Date: Fri, 3 Feb 2023 15:11:51 +0100 Subject: [PATCH] contourne les filtrages DNS --- .../snster-kaz/opendns/resolver/provision.sh | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 files/snster-kaz/opendns/resolver/provision.sh diff --git a/files/snster-kaz/opendns/resolver/provision.sh b/files/snster-kaz/opendns/resolver/provision.sh new file mode 100644 index 0000000..49ed3af --- /dev/null +++ b/files/snster-kaz/opendns/resolver/provision.sh @@ -0,0 +1,28 @@ +#!/bin/bash +set -e +if [ -z $SNSTERGUARD ] ; then exit 1; fi +DIR=`dirname $0` +cd `dirname $0` + +mkdir -p /etc/unbound/unbound.conf.d/ + +cat >> /etc/unbound/unbound.conf.d/unblockdns.conf <