I need to configure SPF using ( include ) for one domain and its subdomains too at the same time
Example :
domain1.com has SPF for main domain + 4 subdomains
domain1.com has spf v=spf1 ip4:IPADDR1/24 -all
sub1.domain1.com has spf v=spf1 ip4:IPADDR2/24 -all
sub2.domain1.com has spf v=spf1 ip4:IPADDR3/24 -all
sub3.domain1.com has spf v=spf1 ip4:IPADDR4/24 -all
sub4.domain1.com has spf v=spf1 ip4:IPADDR5/24 -all
now for ( domain2.com ) i need to include all the SPF records of ( domain1.com & its subdomains ) with a simple syntax
I tested this syntax for ( domain2.com ):
( domain2.com ) v=spf1 include:domain1.com -all
( it includes only the spf of main domain "domain1.com")
I tested also this syntax for ( domain2.com ) :
( domain2.com ) v=spf1 include:*.domain1.com -all
( to include the 4 subdomains too but it's invalid )
is there any simple syntax that can include both main & subdomains SPFs of a domain name in one time ?
thank you in advance