Set up Email DNS on Hetzner
Setting up an email provider with your domain at Hetzner requires specific DNS records to be configured. These records include MX, SPF, DKIM, and DMARC records that are essential for proper email delivery and authentication.
mail2dns is the fastest way to create the DNS records. You can use mail2dns with the supported email providers listed below to create the necessary records in one command.
CLI Usage
mail2dns setup <your-domain> <email-provider> hetzner Copied
Supported Email Providers
Follow the relevant setup guide to use mail2dns to create records for your domain at Hetzner
Hetzner setup for Amazon SES
Hetzner setup for Fastmail
Hetzner setup for Google Workspace
Hetzner setup for Mailgun
Hetzner setup for Microsoft 365
Hetzner setup for Microsoft Outlook
Hetzner setup for Migadu
Hetzner setup for Postmark
Hetzner setup for Proton Mail
Hetzner setup for Resend
Hetzner setup for Twilio SendGrid
Hetzner setup for Zoho Mail
Is your email provider missing? Let us know