1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-18 18:07:22 +01:00

add possibility for unbound blocklist

This commit is contained in:
KiekerJan
2022-03-22 13:05:25 +01:00
parent 600c07fb47
commit a4b6b15c14
3 changed files with 50 additions and 1 deletions

View File

@@ -323,6 +323,10 @@ apt_install unbound python3-unbound bind9-dnsutils
# Configure unbound
cp -f conf/unbound.conf /etc/unbound/unbound.conf.d/miabunbound.conf
if [ -d /etc/unbound/lists.d ]; then
mkdir /etc/unbound/lists.d
fi
# Modify systemd settings
rm -f /etc/resolv.conf
tools/editconf.py /etc/systemd/resolved.conf \