Remove ratelimits for now and serve full reponses, update SOA

This commit is contained in:
Alex 2020-05-31 20:23:20 +02:00
parent 2ccb694505
commit 5e0c3647e4
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@ server:
local-data: "redxen.eu. 10800 IN NS {{ host }}.redxen.eu"
{% endfor %}
local-data: "redxen.eu. IN SOA n0.redxen.eu admin.redxen.eu 2020053001 86400 7200 3600000 172800"
local-data: "redxen.eu. IN SOA n0.redxen.eu admin.redxen.eu 2020053102 1800 120 604800 3600"
{% for record in unbound.public.TXT %}
local-data: "{{ record.name }}redxen.eu. 86400 IN TXT {{ record.content }}"

View File

@ -4,11 +4,12 @@ server:
directory: "/etc/unbound"
access-control: 0.0.0.0/0 refuse_non_local
access-control: ::/0 refuse_non_local
# Local Host
access-control: 127.0.0.0/24 allow
access-control: 127.0.0.0/8 allow
# Wireguard Range
access-control: 172.22.12.0/24 allow
# log-replies: yes
#log-replies: yes
interface: {{ unbound.listen.ipv4 }}
interface: {{ unbound.listen.ipv6 }}
extended-statistics: yes
@ -17,10 +18,10 @@ server:
trust-anchor-file: /usr/share/dns/root.key
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
port: {{ unbound.port }}
ratelimit: 20
prefetch: yes
prefetch-key: yes
do-daemonize: no
minimal-responses: no
logfile: ""
cache-min-ttl: 60
harden-glue: yes