aboutsummaryrefslogtreecommitdiff
path: root/terraform/dns
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/dns')
-rw-r--r--terraform/dns/vpn-cname.tf6
-rw-r--r--terraform/dns/vpn.tf32
2 files changed, 22 insertions, 16 deletions
diff --git a/terraform/dns/vpn-cname.tf b/terraform/dns/vpn-cname.tf
new file mode 100644
index 0000000..5fc0b49
--- /dev/null
+++ b/terraform/dns/vpn-cname.tf
@@ -0,0 +1,6 @@
+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"
+}
diff --git a/terraform/dns/vpn.tf b/terraform/dns/vpn.tf
index c94fb72..5ced457 100644
--- a/terraform/dns/vpn.tf
+++ b/terraform/dns/vpn.tf
@@ -1,46 +1,47 @@
-resource "linode_domain_record" "vpn-knot" { # 7590078
+# Generated from ansible data
+resource "linode_domain_record" "vpn-knot" {
domain_id = linode_domain.root.id
name = "knot.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::1"
}
-resource "linode_domain_record" "vpn-birgitte" { # 7212930
+resource "linode_domain_record" "vpn-birgitte" {
domain_id = linode_domain.root.id
name = "birgitte.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::2"
}
-resource "linode_domain_record" "vpn-conflatorio" { # 7212931
+resource "linode_domain_record" "vpn-conflatorio" {
domain_id = linode_domain.root.id
name = "conflatorio.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::3"
}
-resource "linode_domain_record" "vpn-arius" { # 11907869
+resource "linode_domain_record" "vpn-arius" {
domain_id = linode_domain.root.id
name = "arius.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::6"
}
-resource "linode_domain_record" "vpn-akili" { # 7212932
+resource "linode_domain_record" "vpn-akili" {
domain_id = linode_domain.root.id
name = "akili.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::7"
}
-resource "linode_domain_record" "vpn-malabaricus" { # 11506469
+resource "linode_domain_record" "vpn-malabaricus" {
domain_id = linode_domain.root.id
name = "malabaricus.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::8"
}
-resource "linode_domain_record" "vpn-sweetzpot-mobile" { # 15103674
+resource "linode_domain_record" "vpn-sweetzpot-mobile" {
domain_id = linode_domain.root.id
name = "sweetzpot-mobile.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::9"
}
-resource "linode_domain_record" "vpn-astyanax" { # 15103679
+resource "linode_domain_record" "vpn-astyanax" {
domain_id = linode_domain.root.id
name = "astyanax.vpn"
record_type = "AAAA"
@@ -58,22 +59,21 @@ resource "linode_domain_record" "vpn-android-trygvis" {
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::12"
}
-resource "linode_domain_record" "vpn-hash" { # 16341443
+resource "linode_domain_record" "vpn-hash" {
domain_id = linode_domain.root.id
name = "hash.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::13"
}
-resource "linode_domain_record" "vpn-lhnpi" {
+resource "linode_domain_record" "vpn-lhn2pi" {
domain_id = linode_domain.root.id
- name = "lhnpi.vpn"
+ name = "lhn2pi.vpn"
record_type = "AAAA"
target = "fdf3:aad9:a885:0b3a::14"
}
-
-resource "linode_domain_record" "vpn-unifi" {
+resource "linode_domain_record" "vpn-lhn2ix" {
domain_id = linode_domain.root.id
- name = "unifi.vpn"
- record_type = "CNAME"
- target = "${linode_domain_record.vpn-conflatorio.name}.trygvis.io"
+ name = "lhn2ix.vpn"
+ record_type = "AAAA"
+ target = "fdf3:aad9:a885:0b3a::15"
}