From 34e8b4b98a8f4e527ff14bf7760fa0384b9c8a50 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Wed, 17 Jul 2024 14:41:38 +0200 Subject: [PATCH] tf/dns: rework the forgejo DNS for the 2 servers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git.forkos.org → Forgejo git.infra.forkos.org → OpenSSH (with the .p. variants for the IPv4→IPv6 SNI proxies) Signed-off-by: Raito Bezarius --- terraform/gandi.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/terraform/gandi.nix b/terraform/gandi.nix index bf15194..cf7d7fe 100644 --- a/terraform/gandi.nix +++ b/terraform/gandi.nix @@ -63,11 +63,15 @@ in (dualProxyRecords "gerrit01.infra" 3600 "AAAA" ["2001:bc8:38ee:100:1000::10"]) (dualProxyRecords "meta01.infra" 3600 "AAAA" ["2001:bc8:38ee:100:1000::20"]) (dualProxyRecords "fodwatch.infra" 3600 "AAAA" ["2001:bc8:38ee:100:1000::30"]) - (dualProxyRecords "git.infra" 3600 "AAAA" ["2001:bc8:38ee:100:1000::40"]) + # git.infra.forkos.org exposes opensshd + (dualProxyRecords "git.infra" 3600 "AAAA" ["2001:bc8:38ee:100:1000::41"]) + # git.p.forkos.org exposes forgejo ssh server. + (proxyRecords "git.p" 3600 "AAAA" ["2001:bc8:38ee:100:1000::40"]) (record "cl" 3600 "CNAME" ["gerrit01.infra.p"]) (record "fodwatch" 3600 "CNAME" ["fodwatch.infra.p"]) - (record "git" 3600 "CNAME" ["git.infra.p"]) + # git.p.forkos.org is the proxy variant of the Forgejo server. + (record "git" 3600 "CNAME" ["git.p"]) (record "netbox" 3600 "CNAME" ["meta01.infra.p"]) (record "amqp" 3600 "CNAME" ["bagel-box.infra.p"]) (record "grafana" 3600 "CNAME" ["meta01.infra.p"])