aboutsummaryrefslogtreecommitdiff
path: root/terraform/dns
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-08-21 22:47:51 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-08-21 22:47:51 +0200
commit06a9c241b2462e9819fd5ca58a519f4f538a85e4 (patch)
tree094465d7588003468eb956001e0255b9756c1f41 /terraform/dns
parent204a5bb09bbb5888621edb25de2b1faad34ab781 (diff)
downloadinfra-06a9c241b2462e9819fd5ca58a519f4f538a85e4.tar.gz
infra-06a9c241b2462e9819fd5ca58a519f4f538a85e4.tar.bz2
infra-06a9c241b2462e9819fd5ca58a519f4f538a85e4.tar.xz
infra-06a9c241b2462e9819fd5ca58a519f4f538a85e4.zip
unifi
Diffstat (limited to 'terraform/dns')
-rw-r--r--terraform/dns/vpn-cname.tf9
1 files changed, 8 insertions, 1 deletions
diff --git a/terraform/dns/vpn-cname.tf b/terraform/dns/vpn-cname.tf
index 8887988..ebb6a4b 100644
--- a/terraform/dns/vpn-cname.tf
+++ b/terraform/dns/vpn-cname.tf
@@ -5,11 +5,18 @@
# target = "fdf3:aad9:a885:77dd::2"
#}
+resource "linode_domain_record" "net-conflatorio" {
+ domain_id = linode_domain.root.id
+ name = "conflatorio.net"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2001::ffff"
+}
+
resource "linode_domain_record" "vpn-unifi" {
domain_id = linode_domain.root.id
name = "unifi.vpn"
record_type = "CNAME"
- target = "${linode_domain_record.vpn-conflatorio.name}.trygvis.io"
+ target = "${linode_domain_record.net-conflatorio.name}.trygvis.io"
}
resource "linode_domain_record" "vpn-grafana" {