Skip to content

Commit

Permalink
add validation
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 13, 2021
1 parent 5ef14d5 commit 9d977d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ses-domain/ses_dns.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,20 @@ ${mail_from}.${domain}. ${ttl} in txt "v=spf1 include:amazonses.com -all"
## DMARC Records

Configuration of DMARC unknown at this time.

# Valdation of records

Once the DNS changes are done, you can validate them with these commands:

```shell
echo -n "in txt _amazonses.${domain}. "
dig +short in txt _amazonses.${domain}. | grep -c "${validation_txt}"
%{ for dk in dkim_tokens ~}
echo -n "in cname ${dk}._domainkey.${domain}. "
dig +short in cname ${dk}._domainkey.${domain}. | grep -ci "${dk}.dkim.amazonses.com"
%{ endfor ~}
echo -n "in mx ${mail_from}.${domain}. "
dig +short in mx ${mail_from}.${domain}. | grep -ci "feedback-smtp.${region}.amazonses.com"
echo -n "in txt ${mail_from}.${domain}. "
dig +short in txt ${mail_from}.${domain}. | grep -ci "v=spf1 include:amazonses.com -all"
```

0 comments on commit 9d977d5

Please sign in to comment.