aboutsummaryrefslogtreecommitdiff
path: root/terraform/dns
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-11-22 15:46:25 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-11-22 15:46:25 +0100
commit822f8d1a691ce1d24327b8d0fb8ffade2843b80a (patch)
treedfbf61fadc07ccc24e393e0a5ab0a6efd1076d89 /terraform/dns
parentd8ba907b275c6fb482adced713fb7d8a6d6d59d9 (diff)
downloadinfra-822f8d1a691ce1d24327b8d0fb8ffade2843b80a.tar.gz
infra-822f8d1a691ce1d24327b8d0fb8ffade2843b80a.tar.bz2
infra-822f8d1a691ce1d24327b8d0fb8ffade2843b80a.tar.xz
infra-822f8d1a691ce1d24327b8d0fb8ffade2843b80a.zip
ipam
Diffstat (limited to 'terraform/dns')
-rw-r--r--terraform/dns/dn42.tf12
-rw-r--r--terraform/dns/trygvis.tf7
2 files changed, 13 insertions, 6 deletions
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 5e39c97..9f70413 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -21,18 +21,18 @@ resource "linode_domain_record" "dn42-danneri" {
target = "fdb1:4242:3538:2008:9422:d355:95b7:f170"
}
-resource "linode_domain_record" "dn42-hash" {
+resource "linode_domain_record" "dn42-ha-kv24" {
domain_id = linode_domain.root.id
- name = "hash.dn42"
+ name = "ha-kv24.dn42"
record_type = "AAAA"
- target = "fdb1:4242:3538:2007::ffff"
+ target = "fdb1:4242:3538:2005:c534:9d54:8212:1ced"
}
-resource "linode_domain_record" "dn42-homeassistant" {
+resource "linode_domain_record" "dn42-hash" {
domain_id = linode_domain.root.id
- name = "homeassistant.dn42"
+ name = "hash.dn42"
record_type = "AAAA"
- target = "2a01:799:111d:1801:e0d7:757e:4080:a508"
+ target = "fdb1:4242:3538:2007::ffff"
}
resource "linode_domain_record" "dn42-knot" {
diff --git a/terraform/dns/trygvis.tf b/terraform/dns/trygvis.tf
index 4dcec85..c3ffce0 100644
--- a/terraform/dns/trygvis.tf
+++ b/terraform/dns/trygvis.tf
@@ -158,6 +158,13 @@ resource "linode_domain_record" "unifi" {
target = "trygvis.io"
}
+resource "linode_domain_record" "kv24" {
+ domain_id = linode_domain.root.id
+ name = "kv24"
+ record_type = "CNAME"
+ target = "trygvis.io"
+}
+
# Aliases for vs.trygvis.io
resource "linode_domain_record" "nextcloud" {
domain_id = linode_domain.root.id