tvl-depot/ops/glesys/dns-nixery-dev.tf
Vincent Ambo 076b76cbdd fix(ops): update DNS record for nixery-01
I accidentally deallocated the previous public IP, and had to make a
new one :(

Change-Id: Ie30305bdfdb8443e058270e5324baf555343441c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11452
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
2024-04-18 08:39:59 +00:00

37 lines
950 B
HCL

# DNS configuration for nixery.dev
#
# TODO(tazjin): Figure out what to do with //ops/dns for this. I'd
# like to keep zonefiles in case we move providers again, but maybe
# generate something from them. Not sure yet.
resource "glesys_dnsdomain" "nixery_dev" {
name = "nixery.dev"
}
resource "glesys_dnsdomain_record" "nixery_dev_apex_A" {
domain = glesys_dnsdomain.nixery_dev.id
host = "@"
type = "A"
data = "51.250.51.78" # nixery-01.tvl.fyi
}
resource "glesys_dnsdomain_record" "nixery_dev_NS1" {
domain = glesys_dnsdomain.nixery_dev.id
host = "@"
type = "NS"
data = "ns1.namesystem.se."
}
resource "glesys_dnsdomain_record" "nixery_dev_NS2" {
domain = glesys_dnsdomain.nixery_dev.id
host = "@"
type = "NS"
data = "ns2.namesystem.se."
}
resource "glesys_dnsdomain_record" "nixery_dev_NS3" {
domain = glesys_dnsdomain.nixery_dev.id
host = "@"
type = "NS"
data = "ns3.namesystem.se."
}