There is a dedicated DNS SPF record which can be used for SPF record. However DNS TXT record may also be used for backwards compatibility.
If i CAN define SPF record - should i just delete the deprecated TXT record or leave it?
There is a dedicated DNS SPF record which can be used for SPF record. However DNS TXT record may also be used for backwards compatibility.
If i CAN define SPF record - should i just delete the deprecated TXT record or leave it?
Actually following RFC 7208, section 3.1. you should only be using the TXT type record:
The SPF RR type has been deprecated by the SPFbis working group in April 2014. Reasoning for this can also be found in RFC 7208, section 3.1., which obsoletes the older RFC 4408:
I chose to leave mine. It doesn't cost anything, and may continue to work.
Revisit this in a few years when more servers/clients have updated, and if you can, see who is asking for the TXT record perhaps.
RFC 7208 is a bad proposal that should not be adopted. Today ( 2019), my DNS servers still see queries for SPF type 99 records, so clearly there are other people who ignore the incorrect conclusions reached in that RFC and in 6686.