Skip to main content

Correct DNS setup for two WHM AWS instances

Comments

8 comments

  • cPanelLauren
    I am totally lost with that element. I did reach out to Amazon AWS and request a reverse DNS setup for email.domain.com.

    This is exactly what you need to do in this instance. Because the PTR currently resolves to Amazon's properties instead of your hostname it's invalid. In most cases you're not delegated the authority to make modifications to PTR records, amazon has a blog about this here: Configurable Reverse DNS for Amazon EC2"s Elastic IP Addresses | Amazon Web Services and it's in their FAQ here: Amazon EC2 FAQs - Amazon Web Services They also throttle traffic on port 25 and from their documentation, it looks like filling out that form for the PTR resolves this issue though. Thanks!
    0
  • scottrichardson
    This is exactly what you need to do in this instance. Because the PTR currently resolves to Amazon's properties instead of your hostname it's invalid. In most cases you're not delegated the authority to make modifications to PTR records, amazon has a blog about this here: and it's in their FAQ here:
    0
  • scottrichardson
    I am also running ConfigServer Firewall but I have opened up the ports etc
    0
  • cPanelLauren
    Thanks Lauren, well hopefully that resolves the issue - would you say this is what's causing the outgoing email connections to timeout?

    Yes, PTR records are extremely important and based on the reading I was doing on that documentation I sent you will indeed cause the throttling which will cause timeouts - also many providers won't even accept your email or a connection from your host without rDNS (A PTR record)
    0
  • inteldigital
    @scottrichardson Did you resolve this? If so how long did it take. I'm running on LightSail (which I hope is EC2 instances) I'm assuming this for will work for me too @cPanelLauren ? As a side note, you need to open all of the ports listed here How to Configure Your Firewall for cPanel Services - cPanel Knowledge Base - cPanel Documentation that you use in both CSF and in your AWS security policy!
    0
  • cPanelLauren
    @inteldigital if you're having the same issue, it should, yes.
    0
  • inteldigital
    @inteldigital if you're having the same issue, it should, yes.

    Makes me wonder why Amazon make it nigh on impossible to change your PTR records, when places like Digital Ocean allow this in your control panel.
    0
  • cPanelLauren
    Makes me wonder why Amazon make it nigh on impossible to change your PTR records, when places like Digital Ocean allow this in your control panel.

    I'm not an amazon expert but from what I was reading it didn't appear to be too difficult to update your PTR records. In the documentation, I linked above they provide a forum for you to fill out to complete this. Most providers do NOT grant access to make these changes.
    0

Please sign in to leave a comment.