Sender Policy Framework (SPF) hardens DNS servers. It restricts who can send emails on behalf of your domain or the IP addresses of the servers from which the emails can originate. SPF can prevent domain spoofing. It enables your mail server to determine when a message came from the domain that it uses. The DomainKeys Identified Mail (DKIM) ensures that the contents of your emails remain trusted and are not compromised.