Browse Source

[Unbound] Do not allow from all (dangerous for setups with incorrect netfilter setups)

André 7 năm trước cách đây
mục cha
commit
c80fe40669
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      data/conf/unbound/unbound.conf

+ 2 - 2
data/conf/unbound/unbound.conf

@@ -8,13 +8,13 @@ server:
   do-udp: yes
   do-tcp: yes
   do-daemonize: no
-  access-control: 0.0.0.0/0 allow
+  #access-control: 0.0.0.0/0 allow
   access-control: 10.0.0.0/8 allow
   access-control: 172.16.0.0/12 allow
   access-control: 192.168.0.0/16 allow
   access-control: fc00::/7 allow
   access-control: fe80::/10 allow
-  access-control: ::0/0 allow
+  #access-control: ::0/0 allow
   directory: "/etc/unbound"
   username: unbound
   auto-trust-anchor-file: trusted-key.key