feat(ops/dns): manage snix.{store,systems} in DO

Also include tvix.{store,systems}, they might still be used in some
places.

Change-Id: I90085d7488f94c8764e61e3d99d8f03459c6f9f0
Reviewed-on: https://cl.snix.dev/c/snix/+/30501
Reviewed-by: Ryan Lahfa <ryan@lahfa.xyz>
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
This commit is contained in:
Florian Klink 2025-05-12 16:07:20 +03:00 committed by clbot
parent bb8c4e5c0d
commit a11099fd1c
3 changed files with 69 additions and 0 deletions

38
ops/dns/snix-systems.tf Normal file
View file

@ -0,0 +1,38 @@
# DNS configuration for snix.systems
resource "digitalocean_domain" "snix_systems" {
name = "snix.systems"
}
resource "digitalocean_record" "snix_systems_apex_v4" {
domain = digitalocean_domain.snix_systems.id
type = "A"
name = "@"
value = var.public01_ipv4
}
resource "digitalocean_record" "snix_systems_apex_v6" {
domain = digitalocean_domain.snix_systems.id
type = "AAAA"
name = "@"
value = var.public01_ipv6
}
# tvix.systems, old alias
resource "digitalocean_domain" "tvix_systems" {
name = "tvix.systems"
}
resource "digitalocean_record" "tvix_systems_apex_v4" {
domain = digitalocean_domain.tvix_systems.id
type = "A"
name = "@"
value = var.public01_ipv4
}
resource "digitalocean_record" "tvix_systems_apex_v6" {
domain = digitalocean_domain.tvix_systems.id
type = "AAAA"
name = "@"
value = var.public01_ipv6
}