title: AWS EC2 Reverse DNS (PTR) request Failing on good DNS A records
body: <p>Have searched everywhere and even try the answer here : <a href="https://stackoverflow.com/questions/41424842/aws-ec2-reverse-dns-ptr-failing">AWS EC2 Reverse DNS (PTR) Failing</a></p>
  
  <p>I have the domain mydomain.com. The root and www records point to my main server, which runs my website.</p>
  
  <p>I am now using a separate AWS ec2 instance to set up an email server for my domain. This is running on the subdomain "listes".</p>
  
  <p>My DNS looks like this:</p>
  
  <pre><code>A @ webserverip
  A www webserverip
  A listes ec2ip
  A pop ec2ip
  MX listes listes.mydomain.com
  SPF listes "v=spf1 mx ~all"
  TXT listes "v=spf1 ip4:ec2ip ~all"
  </code></pre>
  
  <p>To prevent my server from getting flagged for spam, I submitted the amazon reverse dns form here: <a href="https://aws.amazon.com/forms/ec2-email-limit-rdns-request" rel="nofollow noreferrer">https://aws.amazon.com/forms/ec2-email-limit-rdns-request</a></p>
  
  <p>I gave them the ip of my ec2 mail server, and put "listes.mydomain.com" in the "Reverse DNS Record for EIP 1" box.</p>
  
  <p>However, I keep receiving emails back from them saying:</p>
  
  <blockquote>
    <p>The mapping for this reverse DNS entry is failing because the PTR
    record doesn't match the A record for that domain. We currently
    require the forward A record to match the PTR record for all reverse
    DNS entries.</p>
    
    <p>You can either provide us with an alternate hostname, or configure the
    A record for this domain to match the desired PTR record on your side.</p>
  </blockquote>
  
  <p>I tried to submit the same form almost 10 times with always the same response...</p>
  
  <p>I really don't understand what I am doing wrong. The "listes" subdomain has an A record pointing to my ec2 server ip. Any assistance would be greatly appreciated!</p>
  
  <p>(I am using cloudflare for my dns if this makes any difference)</p>