diff --git a/unbound/dns.conf b/unbound/dns.conf index 9e509d0..a03f551 100644 --- a/unbound/dns.conf +++ b/unbound/dns.conf @@ -1,17 +1,18 @@ server: verbosity: 1 use-syslog: no - log-time-ascii: yes - num-threads: 2 + num-threads: 4 # Parametres par defaut qu'on laisse pour s'en souvenir + port: 5354 interface: 127.0.0.1 - interface: ::1 - do-ip4: yes - do-ip6: yes + access-control: 127.0.0.1/8 allow + do-ip4: yes + do-ip6: no do-udp: yes do-tcp: yes + so-reuseport: yes root-hints: "/var/lib/unbound/root.hints" @@ -26,7 +27,7 @@ server: # If more than an hour could easily give trouble due to stale data. # WARNING : against protocol rule but efficient against stupidly too low TTLs - cache-min-ttl: 3600 + cache-min-ttl: 1800 # the time to live (TTL) value cap for RRsets and messages in the # cache. Items are not cached for longer. In seconds. @@ -65,4 +66,11 @@ server: private-address: 192.168.0.0/16 private-address: 169.254.0.0/16 private-address: fd00::/8 - private-address: fe80::/10 \ No newline at end of file + private-address: fe80::/10 + +# enable remote-control +remote-control: + control-enable: yes + #control-interface: "/var/run/unbound.ctl" + control-interface: 127.0.0.1 + control-use-cert: no