mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 08:52:58 +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:
@@ -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