frostmoln_dns_zone (Resource)
Manages a managed DNS zone in the Frostmoln Cloud Platform. Each primary zone is assigned a delegation nameserver set, exposed as the read-only name_servers attribute — delegate your domain at your registrar to those name servers.
Example Usage
terraform
resource "frostmoln_dns_zone" "example" {
name = "example.com."
email = "admin@example.com"
ttl = 3600
tags = {
env = "prod"
team = "platform"
}
}
# The zone is assigned a delegation nameserver set. Delegate your domain at your
# registrar to exactly these name servers.
output "delegation_name_servers" {
value = frostmoln_dns_zone.example.name_servers
}Schema
Required
email(String) The SOA administrative contact email for the zone.name(String) The zone name as a fully qualified domain name ending with a dot (e.g. "example.com."), lowercase.
Optional
description(String) A description of the zone.tags(Map of String) Key-value tags for the zone.ttl(Number) The default record TTL in seconds.
Read-Only
created_at(String) The creation timestamp.id(String) The unique identifier of the zone.name_servers(List of String) The zone's delegation name servers. Delegate your domain at your registrar to exactly these.record_count(Number) The number of editable records in the zone.serial(Number) The SOA serial of the zone.status(String) The status of the zone.type(String) The zone type (primary).updated_at(String) The last update timestamp.