Skip to content

Automatically create "reject all" SPF, DKIM, and DMARC DNS records in domains that contain no MX records.

License

Notifications You must be signed in to change notification settings

SamErde/Zero-Email-Domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zero Email Domain

Automatically create "reject all" SPF, DKIM, and DMARC DNS records in domains that contain no MX records.

This is an quick concept that I made using PowerShell and the Cloudflare API so I could quickly achieve this task for the 60+ domains that I was responsible for.

Requirements

  • A Cloudflare account
  • At least one domain that uses Cloudflare managed DNS
  • A Cloudflare API token that has permissions to view the zone[s] and edit DNS records in the zone[s]
  • PowerShell

To Do

  • Create documentation.
  • Better handling of API keys.
  • Improve API usage and add paging.