2023-03-14 17:24:57 +01:00
|
|
|
# DNS configuration for tvix.dev
|
|
|
|
|
|
|
|
resource "glesys_dnsdomain" "tvix_dev" {
|
|
|
|
name = "tvix.dev"
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_apex_A" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "@"
|
|
|
|
type = "A"
|
|
|
|
data = var.whitby_ipv4
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_apex_AAAA" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "@"
|
|
|
|
type = "AAAA"
|
|
|
|
data = var.whitby_ipv6
|
|
|
|
}
|
|
|
|
|
2023-03-14 19:43:13 +01:00
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_docs_CNAME" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "docs"
|
|
|
|
type = "CNAME"
|
|
|
|
data = "whitby.tvl.fyi."
|
|
|
|
}
|
|
|
|
|
2023-03-14 17:24:57 +01:00
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_NS1" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "@"
|
|
|
|
type = "NS"
|
|
|
|
data = "ns1.namesystem.se."
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_NS2" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "@"
|
|
|
|
type = "NS"
|
|
|
|
data = "ns2.namesystem.se."
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "glesys_dnsdomain_record" "tvix_dev_NS3" {
|
|
|
|
domain = glesys_dnsdomain.tvix_dev.id
|
|
|
|
host = "@"
|
|
|
|
type = "NS"
|
|
|
|
data = "ns3.namesystem.se."
|
|
|
|
}
|