From 06a9c241b2462e9819fd5ca58a519f4f538a85e4 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 21 Aug 2024 22:47:51 +0200 Subject: unifi --- terraform/dns/vpn-cname.tf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'terraform/dns/vpn-cname.tf') 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" { -- cgit v1.2.3