More Info:

AWS Route 53 hosted zones should have a TXT DNS record that contains a corresponding Sender Policy Framework (SPF) value set for each MX record available.

Risk Level

Low

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Route 53 Hosted Zones Should Have Sender Policy Framework Record Present” in AWS using the AWS console, follow these steps:

  1. Log in to the AWS Management Console and navigate to the Route 53 dashboard.

  2. Click on the Hosted Zones option in the left-hand navigation menu.

  3. Select the hosted zone for which you want to add a Sender Policy Framework (SPF) record.

  4. Click on the Create Record Set button at the top of the page.

  5. In the Create Record Set dialog box, enter the following details:

  • Name: Enter the name of the domain or subdomain for which you want to create an SPF record (e.g., example.com or mail.example.com).
  • Type: Select TXT from the drop-down list.
  • Value: Enter the SPF record value. The value should be in the following format: “v=spf1 include:_spf.example.com ~all”. Replace “_spf.example.com” with the domain name of your email service provider.
  1. Click on the Create button to save the record set.

  2. Verify that the new record set appears in the hosted zone record list.

  3. Repeat the above steps for any other hosted zones that require an SPF record.

By following these steps, you have successfully remediated the misconfiguration “Route 53 Hosted Zones Should Have Sender Policy Framework Record Present” in AWS using the AWS console.

Additional Reading: