Replacing all existing SPF Records using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

See RFC 4408 for more information about SPF Records.

REST Syntax

Click to view all REST Resources
/REST/SPFRecord/ PUT — Replace all existing SPF Records on the zone/node indicated.

HTTP Action — PUT

URI — https://api.dynect.net/REST/SPFRecord/<zone>/<fqdn>/

Arguments — Click for More Info

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
ReplaceSPFRecords — Replace all existing SPF Records on the zone/node indicated.
Arguments — Click for More Info

Response — Click for More Info

Example Request — Click for More Info