diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-21 22:47:51 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-08-21 22:47:51 +0200 |
commit | 06a9c241b2462e9819fd5ca58a519f4f538a85e4 (patch) | |
tree | 094465d7588003468eb956001e0255b9756c1f41 /terraform/dns | |
parent | 204a5bb09bbb5888621edb25de2b1faad34ab781 (diff) | |
download | infra-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.tf | 9 |
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" { |