Add DNS rebinding fix
This commit is contained in:
parent
6bea1dd6b2
commit
b5b92e9131
1 changed files with 4 additions and 0 deletions
|
|
@ -876,6 +876,10 @@ prefetch: yes' > /etc/unbound/unbound.conf
|
||||||
# Start the service
|
# Start the service
|
||||||
systemctl start unbound
|
systemctl start unbound
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# DNS Rebinding fix
|
||||||
|
PRIVATE_ADDRESSES="10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 169.254.0.0/16 127.0.0.0/8"
|
||||||
|
echo "private-address: $PRIVATE_ADDRESSES" >> /etc/unbound/unbound.conf
|
||||||
else
|
else
|
||||||
echo "Unbound is already installed."
|
echo "Unbound is already installed."
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue