Библиотека / Мониторинг, эксплуатация и инциденты
Мониторинг, эксплуатация и инциденты
Ежедневный аудит лимитов DNS-запросов SPF с Google DNS, Slack и Gmail
Запускается ежедневно, проверяет SPF-включения поставщиков на два уровня вглубь и отправляет оповещения в Slack и Gmail, когда домен приближается к лимиту в 10 запросов.
Что делает
## SPF 10-Lookup Guard - daily DNS audit RFC 7208 lets a receiving server make at most 10 DNS lookups while checking one SPF record. The 11th aborts the check with _permerror_: your record stops protecting the domain, and some servers reject even your genuine mail. Most SPF checkers only count the include: lines you wrote. This one chases every vendor include two levels deep, so the lookups your vendors spend inside their own records are counted against your budget too - which is where almost every over-limit domain actually breaks. ### How it works 1. Configuration holds your domain list and where alerts go. Nothing else to edit. 2. Each domain's SPF record is fetched from Google's free DNS-over-HTTPS endpoint. No API key. 3. Three resolve rounds chase every include: and redirect= target two levels deep. 4. The receiver's arithmetic is replayed offline: include: redirect= a mx exists: ptr cost 1 each, ip4: ip6: all cost nothing. A term costs 1 however many addresses it returns. 5. Each domain gets a verdict, plus a term-by-term breakdown showing exactly where its lookups go. 6. Anything that needs acting on goes to Slack and email. A healthy estate stays quiet. ### Setup - [ ] In Configuration, replace example.com with your domains, comma separated - [ ] Set slackChannel and alertEmailTo. That is the whole configuration - [ ] Add Slack and Gmail credentials - [ ] Click Execute Workflow to test, then activate for the 07:00 schedule ### Customize Delete the Slack node or the Gmail node if you only want one channel. Change the schedule hour on the trigger.
Шаги
- Every Morning at 07:00
- When Clicking Execute Workflow
- Configuration
- Split Domains
- Resolve DNS Round 1
- Expand Includes Level 1
- Resolve DNS Round 2
- Expand Includes Level 2
- Resolve DNS Round 3
- Count SPF Lookups
- Build Alert Digest
- Send Slack Digest
- Email Security Digest
Похожие автоматизации
Автоматизация эл. почтыAudit SPF, DKIM and DMARC DNS for sheet domains with Google DNS, GPT-4o-mini and TelegramШагов: 16Автоматизация эл. почтыMonitor SPF, DKIM and DMARC across multiple domains with Apify, Gmail and SlackШагов: 24Безопасность и комплаенсПроверка результатов SPF, DKIM и DMARC для новых писем OutlookШагов: 34Безопасность и комплаенсПеречисление поддоменов и DNS-записей с экспортом в MarkdownШагов: 10