parent
7278337c08
commit
abcab8b822
1 changed files with 8 additions and 2 deletions
|
|
@ -159,8 +159,14 @@ prefetch: yes' > /etc/unbound/unbound.conf
|
|||
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
|
||||
echo "private-address: 10.0.0.0/8
|
||||
private-address: 172.16.0.0/12
|
||||
private-address: 192.168.0.0/16
|
||||
private-address: 169.254.0.0/16
|
||||
private-address: fd00::/8
|
||||
private-address: fe80::/10
|
||||
private-address: 127.0.0.0/8
|
||||
private-address: ::ffff:0:0/96" >> /etc/unbound/unbound.conf
|
||||
|
||||
# Enable service at boot
|
||||
systemctl enable unbound
|
||||
|
|
|
|||
Loading…
Reference in a new issue