From ccbfb211fd1bd48e2dc873948032bb5c3188dd61 Mon Sep 17 00:00:00 2001 From: Akshay Mankar Date: Sun, 19 Nov 2023 18:21:45 +0100 Subject: [PATCH] matrix: Point DNS to nachtigall --- terraform/dns.tf | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/terraform/dns.tf b/terraform/dns.tf index 5cd75af..1e61160 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -74,8 +74,8 @@ resource "namecheap_domain_records" "pub-solar" { } record { hostname = "chat" - type = "A" - address = "85.88.23.162" + type = "CNAME" + address = "nachtigall.pub.solar." ttl = 60 } record { @@ -130,8 +130,8 @@ resource "namecheap_domain_records" "pub-solar" { } record { hostname = "matrix" - type = "A" - address = "85.88.23.162" + type = "CNAME" + address = "nachtigall.pub.solar." ttl = 60 } record { @@ -186,22 +186,6 @@ resource "namecheap_domain_records" "pub-solar" { type = "CNAME" address = "nachtigall.pub.solar." } - record { - hostname = "chat.test" - type = "CNAME" - address = "nachtigall.pub.solar." - } - record { - hostname = "test" - type = "CNAME" - address = "nachtigall.pub.solar." - } - record { - hostname = "turn.test" - type = "CNAME" - address = "nachtigall.pub.solar." - ttl = "300" - } # SRV records can only be changed via NameCheap Web UI # add comment }