Set up DNS for Postmark
To use Postmark with a custom domain, you need to add specific DNS records to your domain's DNS configuration. This allows Postmark to send emails on behalf of your domain.
mail2dns is the fastest way to create the DNS records. You can use mail2dns with the supported DNS providers listed below to create the necessary records in one command.
CLI Usage
mail2dns setup <your-domain> postmark <dns-provider> Copied
Supported DNS Providers
Follow the relevant setup guide for using mail2dns to set up your DNS configuration for Postmark
Set up Postmark on Amazon Route 53
Set up Postmark on Azure DNS
Set up Postmark on Cloudflare
Set up Postmark on DigitalOcean
Set up Postmark on GoDaddy
Set up Postmark on Google Cloud
Set up Postmark on Hetzner
Set up Postmark on Netlify
Set up Postmark on Spaceship
Set up Postmark on Vercel
Is your DNS provider missing? Let us know
DNS records required for Postmark
Postmark requires the following DNS records to send email from your domain. These are created automatically by the mail2dns setup command:
TXT Record
@ → v=spf1 include:spf.mtasv.net ~all
TXT Record
_dmarc → v=DMARC1; p=none;
CNAME Record
pm._domainkey → {DKIM}