Plesk

How to create/modify SPF record for domain in Plesk?

Question

How to create/modify SPF record for a domain in Plesk?

Answer

By default, Plesk has the following SPF record preconfigured out-of-the-box:

example.com TXT v=spf1 +a +mx +a:server.example.com -all

The parts of this record mean the following:

Part Description
v=spf1 The domain uses SPF of the version 1.
+a All the hosts from the “A” records are authorized to send mail.
+mx All the hosts from the “MX” records are authorized to send mail.
+a:server.example.com The domain server.example.com is authorized to send mail. Mind that the hostname should be resolvable.
-all All other domains are not authorized to send mail.

If it is necessary to modify the record, use the steps below:

  1. Log into Plesk.

  2. Go to Domains > example.com > DNS Settings.

  3. Click on the domain's name in the record and modify the record as required:

Read more about the syntax of SPF DNS records. The policy notation is available at RFC7208.