Customizable SPF Value for Domain Verification
Hi Mailgun team,
I'd like to request a feature that allows users to customize or override the SPF record value required for domain verification.
In our case, we're running into the 10-DNS-lookup limit imposed by SPF, and the default include:mailgun.org already consumes multiple lookups. To maintain compliance and avoid delivery issues, we want to flatten and self-host the Mailgun SPF entries (e.g., using a subdomain like spf.ourdomain.com) and reference that instead.
Currently, domain verification fails unless the exact include:mailgun.org is present, which prevents this workaround.
Please consider adding the ability to:
Customize the SPF value used for verification
Or provide a static, up-to-date flat IP list for customers to reference
This flexibility would help users with complex email setups or multi-service SPF constraints.
Thanks in advance!
Best regards,

-
Derik Badman commented
When an account and domain are using dedicated IPs it would be great if the SPF record for verification only required the dedicated IP(s) in them. Including all of mailgun.com's IPs both adds an extra bunch of lookups and means the email security is not as tight as it could be (the whole point of the dedicated IPs).