diff --git a/ses-domain/ses_dns.md.tpl b/ses-domain/ses_dns.md.tpl index b2cbe29..206f415 100644 --- a/ses-domain/ses_dns.md.tpl +++ b/ses-domain/ses_dns.md.tpl @@ -5,13 +5,6 @@ Update DNS to complete SES verification with the following details. This must be done on all views: internal, Dmz, and Public, though Public is the most important one. -* TXT records for validation: - -``` -$ORIGIN ${domain}. -_amazonses ${ttl} in txt "${validation_txt}" -``` - * TXT records for validation fully qualified: ``` @@ -24,15 +17,6 @@ _amazonses.${domain}. ${ttl} in txt "${validation_txt}" Update DNS to set the DKIM records with the following details. This must be done on all views: internal, Dmz, and Public, though Public is the most important one. -* CNAME records: - -``` -$ORIGIN ${domain}. -%{ for dk in dkim_tokens ~} -${dk}._domainkey ${ttl}in cname ${dk}.dkim.amazonses.com. -%{ endfor ~} -``` - * CNAME records fully qualified: ``` @@ -64,14 +48,17 @@ Configuration of DMARC unknown at this time. Once the DNS changes are done, you can validate them with these commands: ```shell +SERVER="" echo -n "in txt _amazonses.${domain}. " -dig +short in txt _amazonses.${domain}. | grep -c "${validation_txt}" +dig $SERVER +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" +dig $SERVER +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" +dig $SERVER +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" +dig $SERVER +short in txt ${mail_from}.${domain}. | grep -ci "v=spf1 include:amazonses.com -all" ``` + +To specify a different sever, set `SERVER="@148.129.127.22"` or some other specific sever IP.