This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A script to generate a zone file with all the email-related zones required by Fastmail | |
// Reference: https://www.fastmail.com/help/receive/domains-advanced.html#dnslist | |
// | |
// Run this script with node and copy the output to your clipboard | |
// $ node fastmail-zone yourdomain.com | pbcopy | |
// | |
// Paste into AWS Route53 "Import zone file" field when creating a new zone, etc. | |
const render = (DOMAIN) => { | |
console.log(`;; Fastmail-hosted zones (email only) |