A network administrator is troubleshooting an issue where external mail gateways reject outbound emails sent from `example.com` due to failed Sender Policy Framework (SPF) validation checks. The administrator executes the following `dig` commands to inspect the DNS domain records:
text
$ dig MX example.com +short
10 mail01.example.com.
$ dig A mail01.example.com +short
192.0.2.25
Which of the following DNS resource records must be created in the `example.com` DNS zone to resolve the SPF validation failures?
- A TXT record containing a policy string that explicitly designates authorized sending mail servers and IP addresses for the domainAnswer
- BA CNAME record aliasing `mail01.example.com` to `spf.example.com` to delegate authentication handling
- CAn MX record with a lower preference value specifically designated for SPF verification traffic
- DA PTR record mapping TCP port 25 directly to `mail01.example.com` for reverse transport protocol authentication
Answer
The network administrator must create a TXT record that specifies the SPF policy string containing authorized IP addresses and mail servers for the domain.
The option specifying a TXT record containing a policy string is correct because SPF relies on machine-readable text records in DNS to list authorized sending hosts and IP addresses for a domain.
Step-by-Step Solution
Key Concept
DNS Record Types and Mail Security (TXT for SPF/DKIM/DMARC)