ZoneUp is a command-line tool that sets up domains on AWS Route53 using a predefined delegation set.
- Go 1.21 or later
- AWS credentials configured (either through environment variables or AWS credentials file)
- Route53 Delegation Set ID
- SOA Webmaster email address
The following environment variables must be set:
ZONEUP_DELEGATION_SET_ID
: Your AWS Route53 delegation set IDZONEUP_SOA_EMAIL
: Email address for the SOA record (e.g., [email protected])ZONEUP_NAMESERVERS
: Comma-separated list of nameservers (e.g., ns1.example.com,ns2.example.com)AWS_ACCESS_KEY_ID
: Your AWS access key IDAWS_SECRET_ACCESS_KEY
: Your AWS secret access keyAWS_REGION
: Your AWS region (e.g., us-east-1)
go install github.com/nellcorp/zoneup@latest
zoneup example.com
This will create a new hosted zone for example.com using the configured delegation set and SOA email.