SPF records specify which mail servers are allowed to send emails on behalf of your domain. To add an SPF record:
Log in to your domain registrar's account. Navigate to the DNS settings section. Create a new TXT record and enter your SPF record, which usually looks like: v=spf1 include:example.com ~all Save the changes and allow some time for the DNS to propagate.