SPF Record for parked domains
I have several domains parked and email forwarded to one main domain.
But the question is, do I need an SPF record on each of those domains, or just the main one?
If I need it on each one, I found this script that is supposed to let you add an SPF record to every account:
Assuming that this is still valid, how do I customize it to add a specific SPF to each domain? Like:
cd /var/cpanel/users
for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done
Assuming that this is still valid, how do I customize it to add a specific SPF to each domain? Like:
"v=spf1 +a +mx +ip4:123.45.67.89 -all"
-
You will have to edit the zone file for the domain and edit the SPF as required. Do you wish to set a customize SPF for every domain using this script ? 0 -
Hello :) Is there any particular reason you prefer to have a custom SPF record for each parked domain name instead of the standard SPF record that cPanel will generate for them? Thank you. 0 -
AFAIK, the standard one doesn't restrict it to the one IP, and uses a soft all instead of hard. If I have to create a record for each account, then I would want them all to be identical to first one. But is it even necessary for parked domains? I have one actual account, and 104 parked domains. 0 -
I guess it's not necessary to use SPF on parked domains. 0 -
The following thread might be helpful if you want to utilize a custom SPF record for each domain name: SPF Custom Entry Thank you. 0 -
I'm still not entirely clear, Michael. That thread stated "f you only revise the initial entry, only the main domain will be changed to that new hard-coded IP, while parked, addon, and subdomains will not be." So, does that mean that parked and addon domains SHOULD have an SPF record? 0 -
Yes, parked and addon domain names should have SPF records because they can send out email just like the primary domain name associated with the account can. If you enable a SPF record for an account, it adds it for the parked/addon domain names added to the account. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments