1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/unbound/templates/unbound.conf.j2
Jelle van der Waa ba003b68dc
Forward dns requests for vdwaa.nl to either 8.8.8.8 or 1.1.1.1
As the dutch registrar has blocked or what they claim rate limited
connections from orion.

Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
2020-05-22 13:40:42 +02:00

21 lines
433 B
Django/Jinja

server:
use-syslog: yes
do-daemonize: no
username: "unbound"
directory: "/etc/unbound"
verbosity: 1
trust-anchor-file: trusted-key.key
remote-control:
control-enable: yes
{% if inventory_hostname == "orion.archlinux.org" %}
# nszero1.axc.nl "rate-limits" but in reality blocks our Hetzner connections from orion.
forward-zone:
name: "vdwaa.nl"
forward-addr: 8.8.8.8
forward-addr: 1.1.1.1
forward-first: yes
{% endif %}