---
title: "SPF-recordformaat: een complete gids voor DNS-configuratie | AutoSPF"
description: "Begrijp het SPF-recordformaat - versie, mechanismen, kwalificaties en modifiers. Leer hoe u uw SPF TXT-record structureert voor correcte e-mailauthenticatie."
image: "https://autospf.com/images/og-default.png"
canonical: "https://autospf.com/nl/spf-record-formaat/"
---

Complete referentie 

# SPF-recordformaat

Een complete referentiegids voor het formaat van het Sender Policy Framework-record - mechanismen, kwalificaties, modifiers en praktijkvoorbeelden zoals [een voorbeeld van een SPF-record](/nl/spf-record-voorbeeld/) dat u kunt kopiëren.

Conform RFC 7208 

Recordstructuur 

## Anatomie van een SPF-record

`v=spf1 ip4:192.0.2.1 include:_spf.google.com -all` 

v=spf1

Versie

ip4:192.0.2.1

Mechanisme

include:...

Mechanisme

\-all

Kwalificatie + catch-all

Bouwstenen 

## Mechanismen

Mechanismen bepalen welke servers zijn geautoriseerd om e-mail namens uw domein te versturen, en ze komen voor in alle [SPF-recordtypes](/blog/complete-guide-to-spf-record-types-6-variations-explained-simply/). Elk mechanisme telt mee voor de limiet van 10 DNS-lookups (behalve `ip4`, `ip6` en `all`).

| Mechanisme | Voorbeeld                   | Beschrijving                                                              | DNS-lookup? |
| ---------- | --------------------------- | ------------------------------------------------------------------------- | ----------- |
| ip4        | ip4:192.0.2.0/24            | Autoriseer een specifiek IPv4-adres of CIDR-bereik                        | Nee         |
| ip6        | ip6:2001:db8::/32           | Autoriseer een specifiek IPv6-adres of -bereik                            | Nee         |
| a          | a                           | Autoriseer de IP-adressen uit het A-record van het domein                 | Ja          |
| mx         | mx                          | Autoriseer de mailservers uit het MX-record van het domein                | Ja          |
| include    | include:\_spf.google.com    | Verwijs naar het SPF-record van een ander domein                          | Ja          |
| all        | \-all                       | Catch-all-mechanisme - komt overeen met alles dat niet eerder is gematcht | Nee         |
| exists     | exists:%{i}.spf.example.com | Controleer of er een DNS A-record bestaat (gebruikt in SPF-macros)        | Ja          |
| ptr        | ptr                         | Reverse DNS-controle (verouderd - niet gebruiken)                         | Ja          |

Actietypes 

## Kwalificaties

Kwalificaties worden voor mechanismen geplaatst en vertellen de ontvangende server welke actie hij moet ondernemen bij een match - de kern van [hoe SPF uw domein beschermt](/blog/what-spf-records-are-and-how-they-protect-email-domains/). Als er geen kwalificatie is opgegeven, is `+` (Pass) de standaard.

+

### Pass

Accepteer de e-mail. De afzender is geautoriseerd.

\-

### Fail

Weiger de e-mail. De afzender is niet geautoriseerd.

\~

### Soft Fail

Accepteren maar als verdacht markeren. Gebruik tijdens het testen.

?

### Neutral

Geen uitspraak. Behandel alsof er geen SPF-beleid is.

Geavanceerde opties 

## Modifiers

### redirect=

Stuurt de SPF-verwerking door naar het SPF-record van een ander domein. Vervangt het beleid van het huidige domein volledig.

`v=spf1 redirect=_spf.example.com` 

### exp=

Levert een aangepast toelichtingsbericht wanneer een SPF-controle mislukt. Handig voor diagnose.

`v=spf1 ... -all exp=explain._spf.example.com` 

Praktijkvoorbeelden 

## Veelvoorkomende voorbeelden van SPF-records

### Basis - één IP

`v=spf1 ip4:192.0.2.1 -all` 

### Google Workspace + uw server

`v=spf1 ip4:192.0.2.1 include:_spf.google.com -all` 

### Google + Microsoft 365

`v=spf1 include:_spf.google.com include:spf.protection.outlook.com -all` 

### A- + MX-records met soft fail

`v=spf1 a mx include:_spf.google.com ~all` 

Aanbevolen werkwijzen 

## Best practices

- Gebruik nooit `+all` \- het autoriseert elke server op het internet
- Houd het aantal DNS-lookups onder de 10 - gebruik zo nodig SPF flattening
- Bekijk en werk uw SPF-record regelmatig bij wanneer u van e-mailprovider wisselt
- Test uw record na elke wijziging met een SPF checker-tool
- Vermijd het verouderde `ptr`\-mechanisme
- Geef de voorkeur aan `-all` (hard fail) boven `~all` zodra u alle verzendbronnen hebt geverifieerd

## Beheer SPF-records niet handmatig

AutoSPF flattent en optimaliseert het formaat van uw SPF-record automatisch. De configuratie duurt 60 seconden.

[Start gratis proefperiode→](https://subscriptions.zoho.com/subscribe/31162770c20bc42aba9c86185ed6106a6a2bba0f6b053217ad482bf477cf719e/smb%5F1)[Bekijk abonnementen en prijzen](/nl/prijzen/)

Rated 5/5 on G2 · Trusted since 2018 

##  What Our Customers Say 

### "AutoSPF Flattens SPF Records Seamlessly & Keeps Changes Logged - I am quite pleased with the product"

> It does what it promises to do, and does it very well. I appreciate that it keeps a log of changes made, which prevents many mistakes. A client's SPF record would have way too many lookups, but AutoSPF makes that problem go away. The length of the SPF record is typically not the issue; it's the amount of lookups in the record that are. AutoSPF "flattens" the record, automatically expanding the defined lookups to IP addresses or ranges. And it auto-updates the record when the un-flattened lookups change. 

 PJ 

Peter J.

 President · Small-Business (50 or fewer emp.) 

### "Helped us go beyond capacity"

> AutoSPF did exactly as described, it helped us get past our 10 lookup limit. Afterwards, we hit another limit regarding overall capacity and when contacted, they quickly provided us with a new solution to eliminate capacity issues entirely going forward, so now we can add as many SPF records as needed. They also provided us with a personalized support video explaining their new method in its entirety using our instance as the example. 

 VU 

Verified User

 Financial Services · Mid-Market (51-1000 emp.) 

[Read our reviews on G2 ](https://www.g2.com/products/autospf/reviews)

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]},"sameAs":["https://www.wikidata.org/wiki/Q138897474","https://www.linkedin.com/company/autospf","https://x.com/autospf01","https://www.facebook.com/autospf","https://github.com/duocircle","https://www.g2.com/products/autospf/reviews"],"aggregateRating":{"@type":"AggregateRating","ratingValue":"5.0","reviewCount":"21","bestRating":"5","worstRating":"1","url":"https://www.g2.com/products/autospf/reviews"},"contactPoint":{"@type":"ContactPoint","contactType":"customer support","url":"https://autospf.com/contact-us/"},"knowsAbout":["SPF Record Flattening","Sender Policy Framework","Email Authentication","DNS Management","DMARC","DKIM","Email Deliverability","SPF Lookup Limits"]}
```

```json
{"@context":"https://schema.org","@type":"WebSite","name":"AutoSPF","url":"https://autospf.com","description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","publisher":{"@type":"Organization","name":"AutoSPF","url":"https://autospf.com","logo":{"@type":"ImageObject","url":"https://autospf.com/images/autospf-logo.png"},"description":"Automatic SPF flattening and email authentication management. Resolve SPF lookup limits, flatten SPF records, and maintain email deliverability across all your domains.","parentOrganization":{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138883901","name":"DuoCircle LLC","url":"https://www.duocircle.com","sameAs":["https://www.wikidata.org/wiki/Q138883901","https://www.crunchbase.com/organization/duocircle-llc","https://www.linkedin.com/company/duocircle","https://github.com/duocircle"],"subOrganization":[{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138898167","name":"DMARC Report","url":"https://dmarcreport.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897474","name":"AutoSPF","url":"https://autospf.com"},{"@type":"Organization","@id":"https://www.wikidata.org/wiki/Q138897912","name":"Phish Protection","url":"https://www.phishprotection.com"}]}}}
```

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://autospf.com/"},{"@type":"ListItem","position":2,"name":"SPF-recordformaat","item":"https://autospf.com/nl/spf-record-formaat/"}]}
```

```json
{"@context":"https://schema.org","@type":"Product","name":"AutoSPF","url":"https://autospf.com","aggregateRating":{"@type":"AggregateRating","ratingValue":5,"reviewCount":21,"bestRating":5,"worstRating":1},"review":[{"@type":"Review","reviewRating":{"@type":"Rating","ratingValue":5,"bestRating":5},"author":{"@type":"Person","name":"Peter J.","jobTitle":"President"},"datePublished":"2026-03-10","reviewBody":"It does what it promises to do, and does it very well. I appreciate that it keeps a log of changes made, which prevents many mistakes. A client's SPF record would have way too many lookups, but AutoSPF makes that problem go away. The length of the SPF record is typically not the issue; it's the amount of lookups in the record that are. AutoSPF \"flattens\" the record, automatically expanding the defined lookups to IP addresses or ranges. And it auto-updates the record when the un-flattened lookups change.","name":"AutoSPF Flattens SPF Records Seamlessly & Keeps Changes Logged - I am quite pleased with the product","publisher":{"@type":"Organization","name":"G2","url":"https://www.g2.com"}},{"@type":"Review","reviewRating":{"@type":"Rating","ratingValue":5,"bestRating":5},"author":{"@type":"Person","name":"Verified User","jobTitle":"Financial Services"},"datePublished":"2025-07-31","reviewBody":"AutoSPF did exactly as described, it helped us get past our 10 lookup limit. Afterwards, we hit another limit regarding overall capacity and when contacted, they quickly provided us with a new solution to eliminate capacity issues entirely going forward, so now we can add as many SPF records as needed. They also provided us with a personalized support video explaining their new method in its entirety using our instance as the example.","name":"Helped us go beyond capacity","publisher":{"@type":"Organization","name":"G2","url":"https://www.g2.com"}}]}
```
