By sumansinha
I have setup a SPF record like this: Name - @ Text - “v=spf1 a -all”
But if I do a test using the first SPF Record Testing Tool here: http://www.kitterman.com/spf/validate.html, this is what I get:
" SPF record lookup and validation for: z.sumansinha.com
SPF records are primarily published in DNS as TXT records.
The TXT records found for your domain are: v=spf1a-all
SPF records should also be published in DNS as type SPF records. No type SPF records found.
Checking to see if there is a valid SPF record.
No valid SPF record found of either type TXT or type SPF. "
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
My TXT record is “v=spf1 ip4:ip_address include:_spf.google.com ~all”. But what is the value to be added to TTL field? Is it 3600 or 1800?
And my Laravel 5.4 project’s .env looks:
MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=contact@mydomain.com MAIL_PASSWORD=somepassword MAIL_ENCRYPTION=tls
But it doesn’t send email out and generate: Connection could not be established with host smtp.gmail.com [Connection timed out #110]
Please advise
I forgot to add the quotes around the SPF. The Kitterman tool showed an invalid SPF with all the spaces removed. As mentioned above, this was due to not having double quotes around the TXT value. <br> <br>I added one set of double quotes surrounding the entire SPF value, as shown above, and hit enter to save the changes in the DO DNS editor. <br> <br>A dig command returned quotes around every string, which is clearly not how it looks in the DO DNS admin, and not how I’d added it. <br> <br>Example <br>“v=spf1” “ip4:123.123.123.123” “a” <br> <br>Solution <br>Had to delete the TXT record and re-add it in the correct quoted format for the DNS and then wait about 15 minutes. <br> <br>This may be a bug in the DO DNS editing interface trying to be smart and auto quote TXT values, but going crazy and quoting every string independently.
For Google mail, this official Google help doc suggests using ~all instead of -all: <br>https://support.google.com/a/bin/answer.py?hl=en&answer=178723&topic=2759192&ctx=topic <br>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.