Skip to content
Add DNS entries to allow fastmail to handle domain email
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Terraform Fastmail DNS

Add DNS records suggested by fastmail in order to:-

  • set MX records for your domain and all subdomains,
  • allow web mail to be accessed at,
  • and add SPF and DKIM records to help prevent forged mail from your domain.

At present this module does not add entries for email, CalDAV and CardDAV clients to auto-discover settings.


resource "aws_route53_zone" "primary" {
  name = "${var.domain}"

module "fastmail_dns" {
  source  = "stephenpaulger/fastmail-dns/aws"
  version = "1.0.1"

  zone_id = "${aws_route53_zone.primary.zone_id}"
  domain = "${var.domain}"
You can’t perform that action at this time.