aboutsummaryrefslogtreecommitdiff
path: root/terraform/dns/vpn-cname.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/dns/vpn-cname.tf')
-rw-r--r--terraform/dns/vpn-cname.tf14
1 files changed, 7 insertions, 7 deletions
diff --git a/terraform/dns/vpn-cname.tf b/terraform/dns/vpn-cname.tf
index 8887988..c03b2bb 100644
--- a/terraform/dns/vpn-cname.tf
+++ b/terraform/dns/vpn-cname.tf
@@ -5,18 +5,18 @@
# target = "fdf3:aad9:a885:77dd::2"
#}
-resource "linode_domain_record" "vpn-unifi" {
+resource "linode_domain_record" "net-conflatorio" {
domain_id = linode_domain.root.id
- name = "unifi.vpn"
- record_type = "CNAME"
- target = "${linode_domain_record.vpn-conflatorio.name}.trygvis.io"
+ name = "conflatorio.net"
+ record_type = "AAAA"
+ target = "fdb1:4242:3538:2001::ffff"
}
-resource "linode_domain_record" "vpn-grafana" {
+resource "linode_domain_record" "vpn-unifi" {
domain_id = linode_domain.root.id
- name = "grafana.vpn"
+ 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-influxdb" {