CLI tool to quickly lookup MX, SPF, DMARC records for many domains
Project description
domain-email-records
CLI tool to quickly lookup MX, SPF, DMARC records for many domains
Install
pip install domain-email-records
Usage
usage: domain-email-records [-h] [-q | -v] [--chunk-size <size>] [-d [<domain> ...]] [-f <filename>] [--csv-column <col>]
domain-email-records v0.0.0
CLI tool to quickly lookup MX, SPF, DMARC records for many domains
options:
-h, --help show this help message and exit
-q, --quiet Set quiet logging output
-v, --verbose Set verbose logging output
--chunk-size <size> Number of domain names to async resolve together (default: 100)
direct:
-d [<domain> ...], --domains [<domain> ...]
Space separated list of domain names to query
filename:
-f <filename>, --filename <filename>
Filename with list of domains to use; either a plain text file list -or- a comma-separated CSV file list.
--csv-column <col> CSV column number to use for domain-names -if- the file is CSV formatted (default: 2)
Examples
Domains directly at the CLI
$ domain-email-records -d google.com facebook.com apple.com amazon.com
{
"google.com": {
"mx": [
"smtp.google.com."
],
"spf": [
"v=spf1 include:_spf.google.com ~all"
],
"dmarc": [
"v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
]
}
}
...
Domains listed in file
The file may be formatted as a flat plain list of domains names or as a CSV.
$ domain-email-records -f alexa-top-1m-20220708.csv
{
"google.com": {
...
}
Copyright © 2022 Nicholas de Jong
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for domain-email-records-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36b06709dfa5dc6ea4ce6e1dd73e7705b10ab6be94e39b35c51b9cfe7a7d72a9 |
|
MD5 | d1132b9807c90c1b04f73fdb4b64cbe9 |
|
BLAKE2b-256 | 708982339ad01b443ea4e2cd8f183a056c7d84be61c0679062b106f5ed2d8b9d |
Close
Hashes for domain_email_records-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3025caa9ce5b6cf0672913763dccc20e51f8924eadbb7c31669d0b9b13dc4c04 |
|
MD5 | 05b349d8b1b32bcff964c8e4150c1069 |
|
BLAKE2b-256 | 545e0227fea314bad5596ece9bbc88a63cd59f9113c1544b0b7be498e8f95d90 |