checkdmarc
A Python module, command line utility, and web application for validating SPF and DMARC DNS records.
Sponsors
This project is maintained by one developer. Please consider sponsoring my work if you or your organization benefit from it.
Features
- API, CLI, and web interfaces
- Can test multiple domains at once
- CLI output in JSON or CSV format
- DNSSEC validation
- SPF
- Record validation
- Counting of DNS lookups and void lookups
- Counting of lookups per mechanism
- DMARC
- Validation and parsing of DMARC records
- Shows warnings when the DMARC record is made ineffective by
spvalues, or by use of thepct/rf/ritags that were removed in RFC 9989 - Checks for authorization records on reporting email addresses
- BIMI
- Validation of the mark format and certificate against the Minimum Security Requirements for Issuance of Mark Certificates
- Parsing of the mark certificate
- MX records
- Preference
- IPv4 and IPv6 addresses
- Optional STARTTLS and TLS testing (pass
--check-mx-tls) - Use of DNSSEC/TLSA/DANE to pin certificates
- MTA-STS
- SMTP TLS reporting
- Record and policy parsing and validation
- SOA record parsing
- Nameserver listing
Docker support
- Build the image using
docker build . -t checkdmarc - Use the image with a command like
docker run --rm checkdmarc google.nl
Metadata
Release files for checkdmarc 6.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| checkdmarc-6.0.4.tar.gz | 104.4 kB | With provenance | Details for checkdmarc-6.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| checkdmarc-6.0.4-py3-none-any.whl | Python 3 | none | any | Details for checkdmarc-6.0.4-py3-none-any.whl |
Total release size: 220.4 kB
Release files / checkdmarc-6.0.4.tar.gz
| Download URL | checkdmarc-6.0.4.tar.gz |
|---|---|
| Size | 104.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27113185ec5fd981ee163d5fbd86b8d8c1e15021e0f311c714a878bcb3e8b261
|
|
BLAKE2b-256 checksum How to use checksums |
a59b6a25ad12100a86fe6636d41c04d2946d25ec610264023a85612f3452ba41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logRelease files / checkdmarc-6.0.4-py3-none-any.whl
| Download URL | checkdmarc-6.0.4-py3-none-any.whl |
|---|---|
| Size | 116.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b17606aea365bbc52498b3e1c2705d3fdcd6ef5c8952b7fcab3bd61dc428bc2
|
|
BLAKE2b-256 checksum How to use checksums |
8da93c462648a04a2055d2362b08daaa9b95031d1215965877367a1d25043da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logSecurity for checkdmarc 6.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for checkdmarc-6.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.