Browse Source

Unbound changes

andryyy 8 years ago
parent
commit
6fa19a37d8

+ 0 - 1
data/Dockerfiles/unbound/docker-entrypoint.sh

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

+ 0 - 6
data/Dockerfiles/unbound/unbound.conf

@@ -25,9 +25,3 @@ server:
 	qname-minimisation: yes
 	minimal-responses: yes
 	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

+ 0 - 21
data/conf/bind9/named.conf

@@ -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";

+ 1 - 0
docker-compose.yml

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