Hi,
I have created a number of TXT records for my domain on the Digital Ocean name servers: TXT awesage.com returns “v=spf1 +a +mx +ip4:107.170.5.217 ~all” 3600
However when I query directly against the DO name servers my TXT records are not being returned:
dig awesage.com TXT @ns1.digitalocean.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> awesage.com TXT @ns1.digitalocean.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 60734 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;awesage.com. IN TXT
;; Query time: 154 msec ;; SERVER: 173.245.58.51#53(173.245.58.51) ;; WHEN: Wed Apr 26 20:22:24 AEST 2017 ;; MSG SIZE rcvd: 40
Other records created such as A and CNAME are being returned correctly. As I am querying DO name servers directly propagation delay should not be an issue. Why aren’t my TXT records being served? Any help to resolve this issue would be appreciated.
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!
It says status: SERVFAIL, so something goes wrong. Try modifying the record to:
v=spf1 a ~all
I have removed the + signs, since I’ve never seen them used. And just have a, since the mx and ip4 are the same address.
Are the TXT records showing up for your domain through the DigitalOcean Control Panel under the Networking -> Domains page?
When querying your domain for A and CNAME, I can confirm they do show up, though I’m not seeing TXT records on my end either.
Thanks for the replies. I had a malformed DKIM record along with my SPF record. The malformed record prevented any TXT records being returned, not just the malformed one. Deleting this resolved the issue.
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.