- Plesk Onyx for Linux
After adding long SPF record, Named fails to start with error:
dns_rdata_fromtext: domain.tld:23: syntax error
zone domain.tld/IN: loading from master file domain.tld failed: syntax error
zone domain.tld/IN: not loaded due to errors.
_default/domain.tld/IN: syntax error
SPF has more than 255 characters in a single string. There is limitation of length for SPF record, please refer to this link: SPF record length .
Plesk does not support splitting long SPF records according to RFC4408 via DNS settings per domain
This is Plesk bug with ID PPP-28953 that will be fixed in future Plesk updates.
As a workaround, split long SPF records in zone file on the server according to RFC4408 :
1. Go to
and split SPF record with doublequotes as following:
example.com IN TXT "v=spf1 .... a:one.example.com" "a:two.example.com..."
2. Restart BIND service:
# systemctl restart bind9.service
Note: the applied changes will be lost after next updating of the records in DNS settings for the domain.