DNS Posture: MX, SPF and DMARC Reader
Pricing
from $0.50 / 1,000 domain lookups
DNS Posture: MX, SPF and DMARC Reader
Look up public MX, SPF and DMARC DNS records for a list of exact names and add a plain-language reading. Queries are ordinary unencrypted DNS to Cloudflare. This reads public DNS text; it is not a security assessment or a guarantee about mail delivery.
Pricing
from $0.50 / 1,000 domain lookups
Rating
0.0
(0)
Developer
Luxe Tasks
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
Look up public MX, SPF and DMARC DNS records for a list of domains and add a plain-language reading of the published policies.
This Actor reads public DNS text. It is not a security assessment, penetration test, mailbox verifier, or a guarantee that mail will be delivered or blocked. A timeout or server failure means a record is unknown, not that it is absent. Unusual or changing published text can produce a false reading.
What you get
For each unique domain, as an exact-name query (not an apex rollup and not an organizational-domain conclusion):
- MX records (priority and exchange), including a note when a null MX is published
- A partial SPF reading of
v=spf1text at the queried name, with split TXT strings joined, common mechanisms, theallqualifier, a top-level include count, and an estimate of lookup-causing terms against the RFC 7208 limit of 10 (nestedinclude/redirectlookups are not fetched; this is not a full SPF validation) - Multiple
v=spf1records marked as a permanent error - The
_dmarc.<name>record when a single valid policy is present (p,sp,pct, and whetherrua/rufaddresses are present). More than one DMARC record, or a record without a validp, is not treated as a policy. Organizational-domain fallback (RFC 7489 section 6.6.3) is not performed. - A short plain-language policy reading
Saved rows use the normalized domain. Path and query from a pasted URL are dropped. Raw published SPF or DMARC text may still include reporting addresses that the domain owner published.
Input
domains: domain names to look up (up to 1,000). You may paste hosts or full URLs; the scheme, port, path and query are stripped before the lookup. A leadingwww.label is kept, becausewww.example.comandexample.comare different DNS names; the result describes that exact name only.- Duplicates after that normalization are skipped and do not add a domain-lookup event; the $0.005 start fee still applies when the run starts.
- Invalid strings (empty values, IP addresses, reserved names such as
localhost) are recorded as skipped rows and do not add a domain-lookup event; the $0.005 start fee still applies when the run starts. - Maximum 1,000 unique domains per run. Concurrency is fixed at 50 (it is not an input field) so a 1,000-name worst-case lookup fits the 300 second run timeout. Each DNS query uses a 2 second timeout and one try per nameserver, with fallback from 1.1.1.1 to 1.0.0.1 only on timeout or a transport error.
- If the input object is empty, or
domainsis omitted or an empty list, the Actor looks upexample.com,google.comandcloudflare.com. Prepaid usage for that fallback is $0.0005 per saved domain result plus a $0.005 start fee (the per-run minimum); for those three names that is $0.0065 plus any platform compute and storage. A malformeddomainsvalue, including null, or a top-level array is refused and no domain-lookup event is applied; the $0.005 start fee still applies if the platform starts the run.
Pricing (prepaid usage)
Prepaid usage is $0.0005 per domain-lookup (one saved result for each valid unique domain, including rows where the resolver failed, such as NXDOMAIN, SERVFAIL, timeout, or unknown (truncated/unreadable); unknown rows are billed $0.0005 each, plus the $0.005 start fee per run at the fixed 256 MB size; not one DNS query and not only successful answers); that start fee is the per-run minimum.
The synthetic apify-default-dataset-item event is not part of this Actor's pricing. That is $0.50 per 1,000 domains, plus the start fee. A run that cannot start because of invalid input or unsafe pricing still incurs the start fee when the platform applies it.
Saved result rows store the normalized domain (scheme, path and query are dropped). Skipped or duplicate rows store only that sanitized host form, not the original URL path or query. Progress is persisted on the platform persistState event (including migration), at the end of the run, and at most every 50 processed domains — not after every domain. On a restart of the same run, names already present in this run's default dataset are skipped: they are not saved again and no further domain-lookup event is applied for them. That is not a cross-run guarantee, and if the dataset cannot be read the run stops instead of guessing. A crash after a dataset save and before the matching charge call leaves that saved row without a domain-lookup event (this favors the user).
Resolvers
Lookups use a small UDP-only DNS client (not Node's dns.promises.Resolver, and with no TCP fallback) against Cloudflare 1.1.1.1 and 1.0.0.1. Each query is an ordinary unencrypted DNS datagram on port 53, sent to a third party, with EDNS0 advertising a 1232-byte UDP payload. The client reads one datagram per query and drops any packet that is larger than 1232 bytes or whose ID, question, or source address and port do not match. A truncated (TC) answer, an oversized datagram, or a malformed answer is reported as unknown (truncated/unreadable), never as “no SPF” or “no DMARC”: very large published records can therefore come back as unknown. If 1.1.1.1 times out or cannot be reached, the same query is sent once to 1.0.0.1; a DNS error or unreadable answer from the first server is not retried on the second. Do not submit confidential or internal names. See Cloudflare's public DNS resolver privacy documentation. No API key is required. Custom resolver addresses are not accepted. This Actor does not state how long any platform storage keeps your dataset.
Example
{"domains": ["example.com", "google.com", "cloudflare.com"]}
Limitations
- Nested SPF includes are not followed; the lookup-limit figure is an estimate from the top-level record only.
- TXT strings that arrive as multiple chunks are joined; unusual encodings may still fail to parse.
- Resolver failures, truncated or oversized answers and rate limits are reported on the row rather than retried without bound. Because there is no TCP fallback, a record that does not fit in a 1232-byte UDP response is unknown, not treated as absent.
- Results describe published records at lookup time and can change.
- DMARC is read only at
_dmarc.<exact-name>; parent-domain fallback is not performed.
Support
Open an issue on the Actor's page in Apify Store.