mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
unbound: Implement setting qname minimisation into strict mode
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -61,6 +61,7 @@ server:
|
||||
harden-algo-downgrade: no
|
||||
use-caps-for-id: yes
|
||||
aggressive-nsec: yes
|
||||
qname-minimisation: yes
|
||||
|
||||
# TLS
|
||||
tls-cert-bundle: /etc/ssl/certs/ca-bundle.crt
|
||||
|
||||
@@ -102,6 +102,13 @@ write_forward_conf() {
|
||||
(
|
||||
config_header
|
||||
|
||||
# Enable strict QNAME minimisation
|
||||
if [ "${QNAME_MIN}" = "strict" ]; then
|
||||
echo "server:"
|
||||
echo " qname-minimisation-strict: yes"
|
||||
echo
|
||||
fi
|
||||
|
||||
# Force using TCP for upstream servers only
|
||||
if [ "${PROTO}" = "TCP" ]; then
|
||||
echo "# Force using TCP for upstream servers only"
|
||||
|
||||
Reference in New Issue
Block a user