Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In order to avoid the Received-SPF: softfail error, i am setting the TXT records

v=spf1 a mx ip4:201.98.45.67 ip4:201.98.45.67 ~all
v=spf1 a mx ip4:212.38.97.34 ip4:212.38.97.34 ~all

in My DNS Hosed Zone.

The 201.98.45.67, 212.38.97.34 are public IP addresses pointed to sites gs.com and beta.gs.com. From these sites I send emails.

But the public IP addresses are not fixed, they may change after every new build.

Is there a possible way to replace the ip4 with the domains gs.com and beta.gs.com in the DNS records.

I tried with

v=spf1 a mx mx:beta.gs.com ~all
v=spf1 a mx mx:gs.com ~all

but it didn't work.

share|improve this question

closed as off topic by Oliver Salzburg Nov 8 '12 at 23:54

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Are these on 2 separate domains, or 2 TXT records on 1 domain? –  Graham Wager Nov 8 '12 at 22:43
    
in My DNS Hosed Zone. +1 for properly understanding your problem. –  HopelessN00b Nov 8 '12 at 23:57
    
Have you completely read and understood the syntax of SPF records? There are many ways to add hosts to SPF records, not all of them require the use of IP addresses... (hint, a:) –  voretaq7 Nov 8 '12 at 23:58

1 Answer 1

Try

"v=spf1 a mx include:beta.gs.com ~all" "v=spf1 a mx include:gs.com ~all"
share|improve this answer
    
The include assumes that gs.com has an SPF record. –  Zoredache Nov 8 '12 at 23:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.