SPF Records

When do I use a SPF record?

SPF records are deprecated. It is now good practice to use TXT records instead.

SPF record for Gandi Mail and Simple Hosting

Instead of SPF records, add the following TXT records to the DNS records for your domain.

  • For GandiMail:

    @ 10800 IN TXT "v=spf1 include:_mailcust.gandi.net ?all"
    
  • For Simple Hosting:

    @ 10800 IN TXT "v=spf1 include:_spf.gpaas.net ?all"
    
  • For GandiMail + Simple Hosting:

    @ 10800 IN TXT "v=spf1 include:_mailcust.gandi.net include:_spf.gpaas.net ?all"
    

This Simple Hosting record is only used if you plan to send e-mails through your website (via contact form, etc.)