mirror of
https://github.com/nicolabs/gandi-spf-flatten.git
synced 2026-05-21 12:13:02 +02:00
Update README.md
This commit is contained in:
parent
4c36241841
commit
79004691fb
17
README.md
17
README.md
|
|
@ -1,2 +1,19 @@
|
|||
# gandi-spf-flatten
|
||||
|
||||
Flatten SPF records with Gandi LiveDNS API
|
||||
|
||||
## About SPF
|
||||
|
||||
This article describes the problem : https://smalltechstack.com/blog/flattening-your-spf-record
|
||||
|
||||
There are (were ?) some free online services (e.g. https://dmarcly.com/blog/spf-permerror-too-many-dns-lookups-when-spf-record-exceeds-10-dns-lookup-limit) but apparently you have to register one account different per domain, and I've tried but never received the confirmation email...
|
||||
|
||||
## Example
|
||||
|
||||
python gandi-flatten-spf.py -d mydomain.com -e _spf.mailfence.com _spf.google.com _spf.mail.yahoo.com _mailcust.gandi.net _spf.protonmail.ch -l DEBUG
|
||||
|
||||
Run without arguments to show the full syntax (including how to pass your Gandi API key).
|
||||
|
||||
Put in a *cron* to run on a regular basis and check if there were any change in the IP addresses of the email providers.
|
||||
|
||||
Without flattening, the 5 email providers from this example would produce 12 DNS requests, out of maximum 10 allowed.
|
||||
|
|
|
|||
Loading…
Reference in a new issue