forked from GrapheneOS/ns1.grapheneos.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdns.conf
46 lines (33 loc) · 920 Bytes
/
pdns.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
42
43
44
45
46
setgid=powerdns
setuid=powerdns
disable-axfr=yes
local-address={{addresses}} [::1]:54
# Android DNS resolver can include NUL in DoT test queries before GrapheneOS patch
8bit-dns=yes
launch=geoip
geoip-database-files=/var/lib/GeoIP/GeoLite2-City.mmdb
geoip-zones-file=/etc/powerdns/zones.yaml
geoip-dnssec-keydir=/etc/powerdns/keys
edns-subnet-processing=yes
enable-lua-records=shared
lua-health-checks-interval=15
lua-health-checks-expire-delay=300
# hurts performance for our setup
consistent-backends=no
# does not improve performance for our setup
cache-ttl=0
negquery-cache-ttl=0
query-cache-ttl=0
max-signature-cache-entries=100000
reuseport=yes
receiver-threads={{receiver_threads}}
distributor-threads=1
signing-threads=1
max-tcp-connections=1024
max-tcp-transactions-per-conn=32
server-id=disabled
version-string=anonymous
security-poll-suffix=
webserver=yes
webserver-address=::1
webserver-port=81