From fa021fb73705a38e3c6e05564f2cc98423a37fa8 Mon Sep 17 00:00:00 2001
From: lilly
Date: Wed, 6 May 2026 12:05:05 +0200
Subject: [PATCH] migrate dns zone ccchh.net. to new auth-dns server
---
inventories/chaosknoten/host_vars/auth-dns.yaml | 4 ++++
resources/chaosknoten/auth-dns/zones/ccchh.net.zone | 2 +-
roles/knot/templates/knot.conf.j2 | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/inventories/chaosknoten/host_vars/auth-dns.yaml b/inventories/chaosknoten/host_vars/auth-dns.yaml
index 1534e4a..1e0e317 100644
--- a/inventories/chaosknoten/host_vars/auth-dns.yaml
+++ b/inventories/chaosknoten/host_vars/auth-dns.yaml
@@ -17,3 +17,7 @@ knot__zones:
catalog_member: "hamburg.ccc.de.catalog."
notify_targets: [ "ns-intern.hamburg.ccc.de" ]
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/auth-dns/zones/hh.ccc.de.zone') }}"
+ - domain: "ccchh.net."
+ catalog_member: "hamburg.ccc.de.catalog."
+ notify_targets: [ "ns-intern.hamburg.ccc.de" ]
+ content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/auth-dns/zones/ccchh.net.zone') }}"
diff --git a/resources/chaosknoten/auth-dns/zones/ccchh.net.zone b/resources/chaosknoten/auth-dns/zones/ccchh.net.zone
index f95ee63..b112bc8 100644
--- a/resources/chaosknoten/auth-dns/zones/ccchh.net.zone
+++ b/resources/chaosknoten/auth-dns/zones/ccchh.net.zone
@@ -1,6 +1,6 @@
$ORIGIN .
$TTL 900 ; 15 minutes
-ccchh.net IN SOA ns1.ccchh.net. noreply.ccchh.net. (
+ccchh.net IN SOA auth-dns.hamburg.ccc.de. noc.hamburg.ccc.de. (
2026042801 ; serial
86400 ; refresh (1 day)
7200 ; retry (2 hours)
diff --git a/roles/knot/templates/knot.conf.j2 b/roles/knot/templates/knot.conf.j2
index 243c0b7..c661e25 100644
--- a/roles/knot/templates/knot.conf.j2
+++ b/roles/knot/templates/knot.conf.j2
@@ -90,6 +90,6 @@ zone:
catalog-role: member
catalog-zone: "{{ i_zone.catalog_member }}"
{% endif %}
+
{% endfor %}
- {# - domain: "onsite.eurofurence.org" #}