34 lines
No EOL
779 B
HCL
34 lines
No EOL
779 B
HCL
# Hetzner Cloud DNS Management
|
|
# =================================
|
|
#
|
|
# DNS zones and records are now managed by Terraform.
|
|
#
|
|
# Existing Zones:
|
|
# - asxp.io (ID: 61604) - 34 records
|
|
# - czsk.it (ID: 61606) - 7 records
|
|
# - childfr.ee (ID: 61605) - 13 records
|
|
#
|
|
# To manage DNS records:
|
|
# Use the 'hcloud_record' resource in Terraform.
|
|
#
|
|
# Key records to update during migration:
|
|
# - asxp.io: @, git, builds, upload, onitama, proxy, xmpp, turn, photos
|
|
# - czsk.it: @
|
|
# - childfr.ee: @
|
|
|
|
resource "hcloud_zone" "czsk_it" {
|
|
name = "czsk.it"
|
|
mode = "primary"
|
|
labels = {
|
|
managed_by = "terraform"
|
|
}
|
|
}
|
|
|
|
resource "hcloud_zone_rrset" "apex_a" {
|
|
zone = hcloud_zone.czsk_it.name
|
|
name = "test"
|
|
type = "A"
|
|
records = [
|
|
{ value = "127.0.0.1", comment = "test" },
|
|
]
|
|
} |