Why subdomains
Attackers like to send from a subdomain like invoice.company.com. If the main domain has sp=none or p=none, the subdomains are unprotected. Subdomains that do not send email should have v=spf1 -all.
How to use the tool
Enter the main domain, for example company.com. We fetch the names from the certificate logs and try a list of common names like www, mail, webmail and vpn. For every subdomain that exists, we look for SPF and DMARC.
Go through the list and ask yourself whether each name is still in use. Old subdomains that point to services you no longer use should be removed from DNS.
How to protect subdomains
- Set sp=reject in the DMARC record for the main domain when all senders are in place. The policy then covers every subdomain without its own DMARC record.
- Give subdomains that do not send email the SPF record v=spf1 -all.
- Subdomains that send, like newsletter.company.com, need their own SPF and DKIM for the sending service.
- Remove CNAME records that point to discontinued cloud services. Otherwise others can take over the name.