Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

in My DNS Hosed Zone.

The, are public IP addresses pointed to sites and 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 and in the DNS records.

I tried with

v=spf1 a mx ~all
v=spf1 a mx ~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


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

Not the answer you're looking for? Browse other questions tagged .