-
Notifications
You must be signed in to change notification settings - Fork 0
/
unbound.conf
41 lines (36 loc) · 1022 Bytes
/
unbound.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
# include: "/etc/unbound/conf.d/*.conf"
server:
interface: 0.0.0.0
num-threads: 4
so-reuseport: yes
so-rcvbuf: 4m
so-sndbuf: 4m
verbosity: 2
use-syslog: no
logfile: ""
module-config: "python validator iterator"
val-log-level: 1
chroot: ""
rrset-cache-size: 64m
msg-cache-size: 64m
serve-expired: yes
do-ip6: no # stops unbound from sending or receiving DNS queries over IPv6.
# It does not stop unbound from talking about DNS IPv6 (AAAA) records over IPv4.
access-control: 0.0.0.0/0 allow
forward-zone:
name: "."
forward-addr: 1.1.1.1
forward-addr: 9.9.9.9
forward-addr: 8.8.8.8
python:
# Script file to load
python-script: "/etc/unbound/rewrite_aaaa.py"