Creating DMARC Record

# Creating DMARC Record to Protect Your Domain Name From Email Spoofing

domain_name=tuxmail.io

cat << EOF >> "/etc/bind/db.$domain_name"
_dmarc IN TXT "v=DMARC1; p=reject; pct=100; fo=0; rua=mailto:dmarc-reports@$domain_name"
EOF

systemctl restart bind9