2026-01-15 14:52:30 +05:30
|
|
|
id: dmarc-validation
|
|
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
name: DMARC - Validation
|
|
|
|
|
author: theamanrawat
|
|
|
|
|
severity: info
|
|
|
|
|
description: |
|
|
|
|
|
Checked for the presence of a DMARC TXT record and validates its basic syntax and the policy.
|
|
|
|
|
reference:
|
|
|
|
|
- https://mxtoolbox.com/dmarc/details/dmarc-tags/dmarc-policy-options
|
|
|
|
|
tags: dns,dmarc,config,email,security
|
|
|
|
|
|
|
|
|
|
dns:
|
|
|
|
|
- name: "_dmarc.{{FQDN}}"
|
2026-01-19 06:10:36 +05:30
|
|
|
|
2026-01-15 14:52:30 +05:30
|
|
|
type: TXT
|
|
|
|
|
class: inet
|
2026-01-19 06:10:36 +05:30
|
|
|
|
2026-01-15 14:52:30 +05:30
|
|
|
recursion: true
|
|
|
|
|
retries: 3
|
|
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
|
matchers:
|
|
|
|
|
- type: word
|
|
|
|
|
words:
|
2026-01-19 06:10:36 +05:30
|
|
|
- "v=DKIM1"
|
|
|
|
|
case-insensitive: true
|
2026-01-15 14:52:30 +05:30
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
|
regex:
|
|
|
|
|
- "p=none"
|