SPF record not showing up


#1

Hello, I have several SPF records for davison.com listed in cloud flare, and none of them are showing up on dig or kitterman.

[james:~]$ dig davison.com txt

; <<>> DiG 9.9.4-RedHat-9.9.4-14.el7_0.1 <<>> davison.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7407
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1500
;; QUESTION SECTION:
;davison.com. IN TXT

;; AUTHORITY SECTION:
davison.com. 3600 IN SOA elaine.ns.cloudflare.com. dns.cloudflare.com. 2025533114 10000 2400 604800 3600

[james:~]$ dig davison.com spf

; <<>> DiG 9.9.4-RedHat-9.9.4-14.el7_0.1 <<>> davison.com spf
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14223
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1500
;; QUESTION SECTION:
;davison.com. IN SPF

;; AUTHORITY SECTION:
davison.com. 3600 IN SOA elaine.ns.cloudflare.com. dns.cloudflare.com. 2025533114 10000 2400 604800 3600

;; Query time: 3 msec
;; SERVER: 69.20.0.164#53(69.20.0.164)
;; WHEN: Fri Aug 25 08:49:09 EDT 2017
;; MSG SIZE rcvd: 101


#2

they are showing up in dig now I had it missconfigured in cloudflare system


#3

Glad to hear that you solve your problem :smiley:

Please note, that per RFC 7208, the use of TXT RR record is mandatory for SPF record:

SPF records MUST be published as a DNS TXT (type 16) Resource Record (RR) [RFC1035] only. The character content of the record is encoded as [US-ASCII]. Use of alternative DNS RR types was supported in SPF’s experimental phase but has been discontinued.

While the use of SPF RR record is deprecated. I would highly suggest you to add a TXT record as well.


#4

Would it be okay to just switch the SPF to TXT ?
I don’t want extra clutter if it’s not needed.


#5

Sure, you can switch them with no problem since the use of TXT record is allowed since the beginning of SPF records (RFC 4408).