Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 795
  • Last Modified:

Setting up PTR record when hosting multiple domains

So I recently setup an exchange server. We have 1 static IP and we host 2 different domain names. I had the ISP setup 2 PTR records.....1 for each domain name pointing to the same IP address. Is that the correct way to do it ?
0
WiddleAvi
Asked:
WiddleAvi
  • 3
  • 2
  • 2
1 Solution
 
Alan HardistyCommented:
No - you only need one PTR record - not two.

All that has to happen is the FQDN configured as Reverse DNS needs to resolve to the IP Address in DNS - nothing more.

The FQDN on the SEND Connector / SMTP Virtual Server also needs to resolve in DNS to the same IP Address, thus multiple PTR records don't help any.
0
 
Glen KnightCommented:
No, the way it should be is:

Domain1

A record: mail.domain1.com
MX = mail.domain1.com
PTR = mail.domain1.com

Domain2

MX = mail.domain1.com

Domain3

MX = mail.domain1.com
0
 
Miguel Angel Perez MuñozCommented:
I suggest that:

Create a DNS name to exchange server. Example: server1.domain.com
Create a PTR for this name and IP.
Create an alias (CNAME) on domain1 and other for domain2. Example mail.domain1.com= server1.domain.com; mail.domain2.com= server1.domain.com
Create a MX zone for domain one pointing to alias.domain1 and create second MX zone for domain2. Example: on domain1, MX= mail.domain1.com; on domain2, MX=mail.domain2.com

0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
Glen KnightCommented:
Drashiel, that's a very complicated way of doing it, especially when there is already a valid solution posted.
0
 
Miguel Angel Perez MuñozCommented:
Maybe, but is more elegant and some spam fliters check PTR to filter connections ;)
0
 
Glen KnightCommented:
yes and as long as it resolves correctly it will not be detected as SPAM.

I use the method I posted above and it works perfectly for around 20 domains.
0
 
Alan HardistyCommented:
I also only have one Reverse DNS record for about 40 domains and don't have any issues sending out mail to anyone!!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now