aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2025-11-29 21:30:15 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2025-12-19 13:47:25 +0100
commit06df320b774a7bca6af8915364e5664a461841be (patch)
treeb12b7fd253f9d8da17211b2860aa483ee5f6c3a0
parentc990f4ccc9c9b63b2e27c1948c2a2f6dc07e7fe2 (diff)
downloadinfra-06df320b774a7bca6af8915364e5664a461841be.tar.gz
infra-06df320b774a7bca6af8915364e5664a461841be.tar.bz2
infra-06df320b774a7bca6af8915364e5664a461841be.tar.xz
infra-06df320b774a7bca6af8915364e5664a461841be.zip
nextcloud
-rw-r--r--ansible/group_vars/all/ipam.yml1
-rw-r--r--terraform/dns/dn42.tf7
-rw-r--r--terraform/dns/trygvis.tf16
-rw-r--r--terraform/ipam6/ipam6.tf8
4 files changed, 31 insertions, 1 deletions
diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml
index 780e90b..fafe119 100644
--- a/ansible/group_vars/all/ipam.yml
+++ b/ansible/group_vars/all/ipam.yml
@@ -35,6 +35,7 @@ ipam6:
ha-kv24: "fdb1:4242:3538:2006:ff6f:74a2:826b:ccd9/64"
netbox: "fdb1:4242:3538:2006:be24:11ff:febb:5c7f/64"
kjell: "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c/64"
+ nextcloud: "fdb1:4242:3538:2006:be24:11ff:fe56:770/64"
hash_dn42:
range: "fdb1:4242:3538:2007::/64"
hosts:
diff --git a/terraform/dns/dn42.tf b/terraform/dns/dn42.tf
index 3527627..8798fc5 100644
--- a/terraform/dns/dn42.tf
+++ b/terraform/dns/dn42.tf
@@ -98,6 +98,13 @@ resource "linode_domain_record" "dn42-netbox" {
target = "fdb1:4242:3538:2006:be24:11ff:febb:5c7f"
}
+resource "linode_domain_record" "dn42-nextcloud" {
+ domain_id = linode_domain.root.id
+ name = "nextcloud.dn42"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2006:be24:11ff:fe56:770"
+}
+
resource "linode_domain_record" "dn42-node1" {
domain_id = linode_domain.root.id
name = "node1.dn42"
diff --git a/terraform/dns/trygvis.tf b/terraform/dns/trygvis.tf
index a19efcf..9187716 100644
--- a/terraform/dns/trygvis.tf
+++ b/terraform/dns/trygvis.tf
@@ -191,7 +191,7 @@ resource "linode_domain_record" "nextcloud" {
domain_id = linode_domain.root.id
name = "nextcloud"
record_type = "CNAME"
- target = "vs.trygvis.io"
+ target = "knot.inamo.no"
}
resource "linode_domain_record" "grafana" {
@@ -214,3 +214,17 @@ resource "linode_domain_record" "owncloud" {
record_type = "CNAME"
target = "vs.trygvis.io"
}
+
+resource "linode_domain_record" "vs" {
+ domain_id = linode_domain.root.id
+ name = "vs"
+ record_type = "A"
+ target = "176.58.112.84"
+}
+
+resource "linode_domain_record" "vs-aaaa" {
+ domain_id = linode_domain.root.id
+ name = "vs"
+ record_type = "AAAA"
+ target = "2a01:7e00:0000:0000:f03c:91ff:feae:93a3"
+}
diff --git a/terraform/ipam6/ipam6.tf b/terraform/ipam6/ipam6.tf
index 6d67854..60eb602 100644
--- a/terraform/ipam6/ipam6.tf
+++ b/terraform/ipam6/ipam6.tf
@@ -86,6 +86,10 @@ output "networks" {
address : "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c"
prefix : "64"
}
+ nextcloud = {
+ address : "fdb1:4242:3538:2006:be24:11ff:fe56:770"
+ prefix : "64"
+ }
}
}
hash_dn42 = {
@@ -210,6 +214,10 @@ output "hosts" {
address : "fdb1:4242:3538:2006:2f0:cbff:fefe:d98c"
prefix : "64"
}
+ nextcloud = {
+ address : "fdb1:4242:3538:2006:be24:11ff:fe56:770"
+ prefix : "64"
+ }
hash = {
address : "fdb1:4242:3538:2007::ffff"
prefix : "128"