Skip to content

This will query MX,SPF,DKIM,DMARC records for all accepted domains

Notifications You must be signed in to change notification settings

bschooled/Get-AcceptedDomainDNSRecords.ps1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Get-AcceptedDomainDNSRecords.ps1

Purpose

The primary purpose of this script is take an export of your accepted domains from Exchange on-premises or Exchange Online, and pull DNS records related to MX, SPF, DKIM, DMARC, and Autodiscover.

Example

First get and export your Accepted domains to a CSV
Get-AcceptedDomain | Export-CSV domains.csv -notypeinformation

Now run the script using the exported CSV as import
.\Get-AcceptedDomainDNSRecords.ps1 -AcceptedDomainCSVPath domains.csv

Plans

  • Add variable input
  • Create HTML report highlighting discrepencies

About

This will query MX,SPF,DKIM,DMARC records for all accepted domains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published