Make sure to follow the below instructions while creating an SPF record.
- Make a record of the list of authorized IP addresses.
- Create SPF records for all your domains, including those that do not send emails. The practice helps you avoid any instances of spoofing in case an attacker tries to use the domains that are not used to send emails.
- Create your SPF record with the help of the 8 SPF mechanisms.
- Publish the SPF record with the help of your DNS server admin.
- Do a test run to ensure that the SPF mechanisms are working accurately.