rDNS for mailserver on EC2

0

I am trying to set up a mail server on EC2 instance. I have requested an elastic IP and have asked AWS to lift email /rDNS restrictions which they replied they have done so (after I sent them my detailed use scenario).

My elastic IP is 1.2.3.4. The next step would be to update the rDNS on my elastic IP. However, when I write (and confirm) the rDNS on the dialog, the "update" button remains disabled. (Actions -->Update reverse DNS on the Elastic IP config)

I have a domain mydomain.com who is managed on another DNS provider (Cloudfare). I have made a 2 NS records pointing to 2 different AWS NS servers for** mail.mydomain.com** (nsxx.awdns-xx.org)

I have made a zone on Route53 for mail.mydomain.com, where** aws.mail.mydomain.com** has an A record to 1.2.3.4. I have made a zone on Route53 for 4.3.2.-in-addr.arpa with a PTR record named 4.3.2.1-in.addr.arpa associated with aws.mail.mydomain.com.

Forward DNS seems to be working fine. **aws.mail.mydomain.com **resolves to my elastic IP and I can communicate with my EC2 instance

Reverse DNS still resolves to ec2-1.2.3.4.compute-x.amazonaws.com

What am I doing wrong?

rob81
feita há 2 anos433 visualizações
1 Resposta
0
Resposta aceita

I could not use the web interface but when using the aws CLI, everything worked seamlessly.

  1. created a key for accessing the cli
  2. log in through cli by aws configure. Entered access key ID and secret
  3. aws reset-address-attribute --allocation-id <value from the elastic ip properties> --attribute aws.mail.mydomain.com
  4. waited for about 15 minutes for it to get accepted, and a few minutes later it had propagated.
rob81
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas