Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to build an exists: macro pattern? #1

Open
eightnoneone opened this issue Dec 22, 2022 · 0 comments
Open

Option to build an exists: macro pattern? #1

eightnoneone opened this issue Dec 22, 2022 · 0 comments

Comments

@eightnoneone
Copy link

Have you considered updating r53 records using the SPF exists: rule pattern? From what I'm understanding, this would be a much more scalable solution as you don't end up hitting TXT character limits in DNS records if the scanned include: records result in a large number of IPs or IPv6s.

There was a good description of the pattern in a Reddit post.

Basically take the scanned IPs (1.2.3.4) and build out DNS A records in the form 4.3.2.1.spf.yourdomain.com A 127.0.0.2
Then with an SPF rule like exists:%{ir}.spf.yourdomain.com you'll get a pass as that record will exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant