dmarccheck
Project Description
To check the DMARC records for multiple domains at once,This script accepts multiple domains as arguments and checks for the existence of DMARC, SPF, and DKIM records for each domain. To run this script, you'll need to provide the domains as arguments when calling the script from the command line.
Checks
- Check SPF record in a domain name.
- Check DMARC record in a domain name.
- In case that SPF & DMARC is not configured, send a test email
To run this script, you'll need to have the argparse and dnspython libraries installed. You can install them using pip:
pip install argparse dnspython
This will check the DMARC records for example.com, example2.com, and example3.com.
Usage:
python dmarccheck.py example.com example2.com example3.com
Available options
![image](https://private-user-images.githubusercontent.com/75905952/330756695-7d1516a5-40cd-4200-b9d2-86be3c0c8a60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5OTY3NTUsIm5iZiI6MTcyMzk5NjQ1NSwicGF0aCI6Ii83NTkwNTk1Mi8zMzA3NTY2OTUtN2QxNTE2YTUtNDBjZC00MjAwLWI5ZDItODZiZTNjMGM4YTYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE1NTQxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1YzVkZjdkMjc1NDQ2YWQ5NzEyMDk4NGRjMWE2MzRiMTJiY2MyNzkwMjhlYzIxOGQ1YTcwYTMzMzgxNzRjZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w1Ttl1IUXz3Yr_jcXhD94jLR-iyRhEM35gRUUcuoYGU)
Check & test domain name