Unbound changes

master
andryyy 2017-06-18 20:23:26 +02:00
parent 7b1eb71216
commit 6fa19a37d8
4 changed files with 1 additions and 28 deletions

View File

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
unbound-control-setup
echo "Receiving anchor key..." echo "Receiving anchor key..."
/usr/sbin/unbound-anchor -a /etc/unbound/trusted-key.key /usr/sbin/unbound-anchor -a /etc/unbound/trusted-key.key
echo "Receiving root hints..." echo "Receiving root hints..."

View File

@ -25,9 +25,3 @@ server:
qname-minimisation: yes qname-minimisation: yes
minimal-responses: yes minimal-responses: yes
num-threads: 3 num-threads: 3
remote-control:
control-enable: yes
server-key-file: /etc/unbound/unbound_server.key
server-cert-file: /etc/unbound/unbound_server.pem
control-key-file: /etc/unbound/unbound_control.key
control-cert-file: /etc/unbound/unbound_control.pem

View File

@ -1,21 +0,0 @@
acl internal_networks {
127.0.0.0/8;
192.168.0.0/16;
172.16.0.0/12;
10.0.0.0/8;
fd4d:6169:6c63:6f77::/64;
};
options {
directory "/var/bind";
allow-recursion { internal_networks; };
listen-on { any; };
listen-on-v6 { any; };
pid-file "/var/run/named/named.pid";
allow-transfer { none; };
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
};
include "/etc/bind/bind.keys";

View File

@ -3,6 +3,7 @@ services:
unbound-mailcow: unbound-mailcow:
image: mailcow/unbound image: mailcow/unbound
build: ./data/Dockerfiles/unbound
command: /usr/sbin/unbound command: /usr/sbin/unbound
depends_on: depends_on:
mysql-mailcow: mysql-mailcow: