Browse Source

Mise à jour de 'unbound/dns.conf'

master
virtubox 11 months ago
parent
commit
2262504f1d
1 changed files with 15 additions and 7 deletions
  1. +15
    -7
      unbound/dns.conf

+ 15
- 7
unbound/dns.conf View File

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

Loading…
Cancel
Save