From de7ba98832dec1b997a93a9c66aad4c1dde18b29 Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 13 Apr 2021 15:46:07 -0400 Subject: [PATCH] update template --- ses-domain/ses_dns.md.tpl | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/ses-domain/ses_dns.md.tpl b/ses-domain/ses_dns.md.tpl index 13fb7c8..0feb869 100644 --- a/ses-domain/ses_dns.md.tpl +++ b/ses-domain/ses_dns.md.tpl @@ -48,18 +48,29 @@ Configuration of DMARC unknown at this time. Once the DNS changes are done, you can validate them with these commands: +* Internal + ```shell SERVER="" -echo -n "in txt _amazonses.${domain}. " -dig $SERVER +short in txt _amazonses.${domain}. | grep -c "${validation_txt}" +dig $SERVER +short in txt _amazonses.${domain}. %{ for dk in dkim_tokens ~} -echo -n "in cname ${dk}._domainkey.${domain}. " -dig $SERVER +short in cname ${dk}._domainkey.${domain}. | grep -ci "${dk}.dkim.amazonses.com" +dig $SERVER +short in cname ${dk}._domainkey.${domain}. %{ endfor ~} -echo -n "in mx ${mail_from}.${domain}. " -dig $SERVER +short in mx ${mail_from}.${domain}. | grep -ci "feedback-smtp.${region}.amazonses.com" -echo -n "in txt ${mail_from}.${domain}. " -dig $SERVER +short in txt ${mail_from}.${domain}. | grep -ci "v=spf1 include:amazonses.com -all" +dig $SERVER +short in mx ${mail_from}.${domain}. +dig $SERVER +short in txt ${mail_from}.${domain}. ``` To specify a different sever, set `SERVER="@148.129.127.22"` or some other specific sever IP. + +* External + +Use [Dig Webinterface](https://www.digwebinterface.com/). Paste thse in and change the types to `TXT`, `CNAME`, and `MX` to see the values. + +```shell +_amazonses.${domain}. +%{ for dk in dkim_tokens ~} +${dk}._domainkey.${domain}. +%{ endfor ~} +${mail_from}.${domain}. +${mail_from}.${domain}. +```