NetOpsT

Cloud DNS Zone Generator

Generate AWS Route 53, Azure DNS and Google Cloud DNS zones with multiple records, CLI commands and Terraform.

Runs locally

CLOUD / DNS

Cloud DNS Zone Generator

DNS zone and record builder

Build an entire cloud DNS change in one editable table.

TYPENAMEVALUETTLPRIORITY
# Create the hosted zone once, then save its Id as HOSTED_ZONE_ID
aws route53 create-hosted-zone --name example.com --caller-reference $(date +%s)

cat > change-batch.json <<'JSON'
{
  "Changes": [
    {
      "Action": "UPSERT",
      "ResourceRecordSet": {
        "Name": "example.com.",
        "Type": "A",
        "TTL": 300,
        "ResourceRecords": [
          {
            "Value": "1.2.3.4"
          }
        ]
      }
    },
    {
      "Action": "UPSERT",
      "ResourceRecordSet": {
        "Name": "example.com.",
        "Type": "MX",
        "TTL": 300,
        "ResourceRecords": [
          {
            "Value": "10 mail.example.com"
          }
        ]
      }
    },
    {
      "Action": "UPSERT",
      "ResourceRecordSet": {
        "Name": "example.com.",
        "Type": "TXT",
        "TTL": 300,
        "ResourceRecords": [
          {
            "Value": "\"v=spf1 include:_spf.google.com ~all\""
          }
        ]
      }
    },
    {
      "Action": "UPSERT",
      "ResourceRecordSet": {
        "Name": "www.example.com.",
        "Type": "CNAME",
        "TTL": 300,
        "ResourceRecords": [
          {
            "Value": "example.com"
          }
        ]
      }
    }
  ]
}
JSON

aws route53 change-resource-record-sets --hosted-zone-id "$HOSTED_ZONE_ID" --change-batch file://change-batch.json
DNS noteCheck provider zone ownership, existing records, delegated name servers and TTL requirements before applying a change. This generator does not modify your DNS automatically.

Cloud TOOL

Cloud DNS Zone Generator

Generate AWS Route 53, Azure DNS and Google Cloud DNS zones with multiple records, CLI commands and Terraform.

When to use this tool

Use it to plan and document a cloud DNS zone before creating or changing its records.

Use it in three steps

  1. Select a provider, enter a domain, add the required DNS records and copy the generated configuration.
  2. Review the calculated values against your environment and its requirements.
  3. Copy or document the result only after validating it for production use.

Related Cloud tools