Subnets in SPF record not allowed
I am not sure why are you even parsing TXT record values, because those can be random text, but one of our clients were trying to add following SPF record:
v=spf1 include:_spf.google.com ip4:85.119.184.0/21 ~all
syntax of it is perfectly valid but failed with error (see screenshot).
Later we tried adding ip addresses one by one and it worked, but if this is intentional then this is by far the most annoying "feature" you have ever implemented.
There is no validation of the structure of TXT record values, except total string length and printable characters, so Plesk accepts the “clean” string from your example without any validation errors. It is possible that you’ve entered some non-printable characters.
Sorry, but we are closing this item because it is not a feature request. We would appreciate if you ask questions about Plesk and report bugs found in Plesk using our forum (http://talk.plesk.com/).
Thanks!
— ES
-
Rico commented
Here my DNS entry: v=spf1 mx a include:<hostname> ip4:<ip.web> ip6:<ipv6.web> -all
-
Rico commented
Why not use the DNS template?
TXT v=spf1 mx a include:XXX ip4:10.10.67.0/24 -all
I have no error