Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
USE_FORWARDERS=1
ENABLE_SAFE_SEARCH=off
FORCE_TCP=off
+FORCE_TLS=off
# Cache any local zones for 60 seconds
LOCAL_TTL=60
(
config_header
+ # Force using TLS for upstream servers only
+ if [ "${FORCE_TLS}" = "on" ]; then
+ echo "# Force using TLS for upstream servers only"
+ echo "server:"
+ echo " tls-upstream: yes"
+ echo
+
# Force using TCP for upstream servers only
- if [ "${FORCE_TCP}" = "on" ]; then
+ elif [ "${FORCE_TCP}" = "on" ]; then
echo "# Force using TCP for upstream servers only"
echo "server:"
echo " tcp-upstream: yes"