From 472f9aa68b51cb0071b26c828636290ca5c807cc Mon Sep 17 00:00:00 2001
From: teutat3s <teutates@mailbox.org>
Date: Mon, 28 Oct 2024 21:39:00 +0100
Subject: [PATCH] dns: list.pub.solar should be A / AAAA records

---
 terraform/dns.tf | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/terraform/dns.tf b/terraform/dns.tf
index 236cd0d0..cb3b81ce 100644
--- a/terraform/dns.tf
+++ b/terraform/dns.tf
@@ -189,11 +189,6 @@ resource "namecheap_domain_records" "pub-solar" {
     type     = "CNAME"
     address  = "nachtigall.pub.solar."
   }
-  record {
-    hostname = "list"
-    type     = "CNAME"
-    address  = "nachtigall.pub.solar."
-  }
   record {
     hostname = "obs-portal"
     type     = "CNAME"
@@ -327,6 +322,16 @@ resource "namecheap_domain_records" "pub-solar" {
     address  = "list.pub.solar."
     mx_pref  = "0"
   }
+  record {
+    hostname = "list"
+    type     = "A"
+    address  = "138.201.80.102"
+  }
+  record {
+    hostname = "list"
+    type     = "AAAA"
+    address  = "2a01:4f8:172:1c25::1"
+  }
   record {
     hostname = "nachtigall"
     type     = "A"