WIP: new z9 ccchh router #98

Draft
bitwhisker wants to merge 23 commits from new_ccchh_router into main
2 changed files with 18 additions and 12 deletions
Showing only changes of commit aec4ea4090 - Show all commits

unbound(role): fix unbound config template

- fix some indentation problems
- fix access control
- fix remote control unix socket and thrust anchor file (because debain
appamour ist annoying)
  - add unbound-anchor package
bitwhisker 2026-06-21 20:06:32 +02:00
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE

View file

@ -6,6 +6,11 @@
ansible.builtin.package:
name: unbound
- name: install unbound-anchor
become: true
ansible.builtin.package:
name: unbound-anchor
bitwhisker marked this conversation as resolved Outdated

There is no bind package on Debian and we already install dig in the base_config role:

There is no `bind` package on Debian and we already install `dig` in the `base_config` role: https://git.hamburg.ccc.de/CCCHH/ansible-infra/src/commit/7832978ff732208f2f29f04ef446c7c51076c6d1/roles/base_config/tasks/main.yaml#L30
- name: ensure correct directory permissions
become: true
ansible.builtin.file:

View file

@ -4,7 +4,7 @@ server:
{% if unbound_enable_dnssec -%}
# location of the trust anchor file that enables DNSSEC
# this file is generated by the `unbound-anchor` command
bitwhisker marked this conversation as resolved Outdated

Is this still relevant on Debian? Again, we don't use Arch Linux in our infra.

Is this still relevant on Debian? Again, we don't use Arch Linux in our infra.
auto-trust-anchor-file: "/etc/unbound/trusted-key.key"
trust-anchor-file: "/usr/share/dns/root.key"
{% endif -%}
# num of threads
@ -36,7 +36,7 @@ server:
# addresses from the IP range that are allowed to connect to the resolver
{% for i in unbound_access_control -%}
access-control: {{ i }}
access-control: {{ i }} allow
{% endfor -%}
{% for i in unbound_private_domain -%}
@ -51,7 +51,8 @@ server:
remote-control:
control-enable: {{ "yes" if unbound_enable_unbound_control else "no" }}
control-interface: /run/unbound-control.sock
control-interface: "/run/unbound.ctl" # debian appamour does not allow any other path!!!
control-use-cert: no
# configure some zones for which this resolver will act authoritatively