Suped

Summary

Using IP addresses directly in Sender Policy Framework (SPF) records is a common practice, but it requires careful consideration to ensure proper email authentication and deliverability. While it can offer certain advantages, such as reducing DNS lookup overhead, it also comes with potential pitfalls if not managed correctly. Best practices revolve around maintaining accuracy, minimizing lookups, and understanding the implications for different email sending scenarios.

Suped DMARC monitor
Free forever, no credit card required
Get started for free
Trusted by teams securing millions of inboxes
Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo

What email marketers say

Email marketers often approach SPF record configuration with a focus on practical outcomes, especially deliverability. Their experiences highlight the trade-offs between simplifying records and ensuring comprehensive coverage of all sending sources. They often prioritize methods that reliably pass SPF checks while minimizing the chances of legitimate emails being flagged as spam or blocked.

Marketer view

An email marketer from Email Geeks inquired about a client's SPF record containing seven IP addresses in the MX section. They sought clarification on the best practice for such a configuration, as it was an unfamiliar setup to them.

27 Apr 2022 - Email Geeks

Marketer view

An email marketer from Email Geeks requested clarification on the SPF record syntax. They asked if the IP addresses were directly listed or part of an 'MX' mechanism, and asked to view the record for context to provide a more accurate assessment.

27 Apr 2022 - Email Geeks

What the experts say

Experts in email deliverability and authentication offer nuanced perspectives on using IP addresses in SPF records. They typically emphasize a balance between precision, manageability, and adherence to technical specifications. Their advice often focuses on avoiding common pitfalls that can lead to SPF failures or misconfigurations that negatively impact deliverability.

Expert view

An expert from SpamResource stated that while direct IP addresses are permissible, using domain names in SPF records often offers greater adaptability. This is because IP changes will not necessitate manual SPF updates, reducing administrative burden and potential for error.

17 Jul 2023 - SpamResource

Expert view

An expert from Wordtothewise cautioned against overuse of mechanisms that require DNS lookups. They highlighted that exceeding the 10-lookup limit can lead to SPF validation failures, subsequently causing legitimate emails to be rejected or sent to spam folders, impacting deliverability.

05 Aug 2023 - Wordtothewise

What the documentation says

Official documentation and technical guides provide the foundational rules and recommendations for SPF records, including how to handle IP addresses. These resources emphasize adherence to RFCs, security best practices, and the technical implications of different SPF mechanisms. They serve as the definitive source for understanding proper SPF configuration.

Technical article

Documentation from AutoSPF advises excluding dynamic IP addresses from SPF records due to their frequent changes and common association with residential ISPs. Including such IPs can lead to continuous authentication failures and hinder email deliverability, necessitating constant updates.

06 Jun 2024 - AutoSPF

Technical article

Documentation from DuoCircle highlighted that a key feature of SPF records is the capacity to specify IP address ranges using CIDR notation. This method offers a more efficient and concise alternative to listing individual IP addresses, especially for large sending infrastructures.

21 Oct 2021 - DuoCircle

15 resources

Start improving your email deliverability today

Get started