mail2dns
The CLI tool that automates DNS setup for MX, DKIM, DMARC, SPF and verification records
Quick Start
Set up
on
Installation
npm install -g mail2dns Copied
Usage
mail2dns setup example.com ms365 cloudflare Copied
Tired of manually creating DNS records for email?
Never have to do it again!
mail2dns is a CLI tool that automates the process of creating DNS records for email providers. With mail2dns, you can quickly generate the necessary records for your email service at your DNS provider, saving you time and reducing the risk of errors.
Run in interactive mode, where required inputs are provided via prompts, or in non-interactive mode using flags or environment variables — useful for scripts, automation, or infrastructure setup.
Supported Email Providers
Is your email provider missing? Let us know
Supported DNS Providers
Is your DNS provider missing? Let us know
Ready to automate your email DNS?
Set up
on