forked from GrapheneOS/infrastructure
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unbound.conf
47 lines (43 loc) · 1.76 KB
/
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
42
43
44
45
46
47
server:
interface: ::1
trust-anchor-file: /etc/unbound/trusted-key.key
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
prefetch: yes
prefetch-key: yes
qname-minimisation-strict: yes
hide-identity: yes
hide-trustanchor: yes
hide-version: yes
harden-large-queries: yes
outgoing-port-permit: 1024-65535
outgoing-port-avoid: 7275 # supl
outgoing-port-avoid: 8008 # synapse
outgoing-port-avoid: 8080 # attestation
# Block DNS rebinding
private-address: 10.0.0.0/8
private-address: 172.16.0.0/12
private-address: 192.168.0.0/16
private-address: fd00::/8
private-address: 169.254.0.0/16
private-address: fe80::/10
private-address: 127.0.0.0/8
private-address: ::1/128
private-address: ::ffff:0:0/96
# AF21
ip-dscp: 18
# force DMARC enforcement
local-zone: "_dmarc.gmail.com" static
local-data: '_dmarc.gmail.com 600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:mailauth-reports@google.com"'
local-zone: "_dmarc.hotmail.com" static
local-data: '_dmarc.hotmail.com 600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:rua@dmarc.microsoft; ruf=mailto:ruf@dmarc.microsoft; fo=1"'
local-zone: "_dmarc.live.com" static
local-data: '_dmarc.live.com 600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:rua@dmarc.microsoft; ruf=mailto:ruf@dmarc.microsoft; fo=1"'
local-zone: "_dmarc.outlook.com" static
local-data: '_dmarc.outlook.com 600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:rua@dmarc.microsoft; ruf=mailto:ruf@dmarc.microsoft; fo=1"'
forward-zone:
name: "."
forward-tls-upstream: yes
forward-addr: 1.1.1.1@853#cloudflare-dns.com
forward-addr: 1.0.0.1@853#cloudflare-dns.com
forward-addr: 2606:4700:4700::1111@853#cloudflare-dns.com
forward-addr: 2606:4700:4700::1001@853#cloudflare-dns.com