This is a followup to question: Some advise needed on how to setup reverse PTR on web and mail server
So i've decided to use my www subdomain for both www and mail. My current problem is not knowing where to put the spf record for that. I've scoured other postings on this subject but i'm still not sure. I had the original put under my maindomain.com:
v=spf1 a mx ip4:188.8.131.52 -all
But it doesnt seem to work for my www.maindomain.com (even though that's the right ip address for it). I get spf failed in my mailheaders. I use dynadot as a name registrar. There's a domain record entry and a subdomain record entry.
Do i need to change either the top record, or do i need to add a SPF record for the www.mydomain.com, under the subdomain record entries. If so, how ? Do i add www subdomain, choose a TXT record and add the above SPF record (even though i already have a www A record subdomain)
Thank you for helping me out with this seemingly basic question.