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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827a0ac90ee009b169353949a6aa75376f62b79e71b5c6834384271b93829931 |
|
MD5 | 8628189b65fc340630c41ac5f187fdf2 |
|
BLAKE2b-256 | 8a18cf81beacc058b3d39acdad5255af659a76eda116f38fe37d938ba9eed3fe |
Close
Hashes for domain_email_records-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba32e6704bb954decf172ea318209df074592c073c108c9456dde1f6688ae61 |
|
MD5 | b52a45bf83c6549a0eaed52b41449539 |
|
BLAKE2b-256 | 4e44730a7751b1ded74886c7f2df7f24d171ce47557a1b64433fbd8820163fbf |