What are the right reverse PTR, domain keys, and SPF settings for two domains running the same appli

Posted by James A. Rosen on Server Fault See other posts from Server Fault or by James A. Rosen
Published on 2010-04-21T17:25:57Z Indexed on 2010/04/21 17:33 UTC
Read the original article Hit count: 585

Filed under:
|
|
|
|

I just read Jeff Atwood's recent post on DNS configuration for email and decided to give it a go on my application.

I have a web-app that runs on one server under two different IPs and domain names, on both HTTP and HTTPS for each:

<VirtualHost *:80>
  ServerName foo.org
  ServerAlias www.foo.org
  ...
</VirtualHost>
<VirtualHost 1.2.3.4:443>
  ServerName foo.org
  ServerAlias www.foo.org
</VirtualHost>

<VirtualHost *:80>
  ServerName bar.org
  ServerAlias www.bar.org
  ...
</VirtualHost>
<VirtualHost 2.3.4.5:443>
  ServerName bar.org
  ServerAlias www.bar.org
</VirtualHost>

I'm using GMail as my SMTP server.

Do I need the reverse PTR and SenderID records? If so, do I put the same ones on all of my records (foo.org, www.foo.org, bar.org, www.bar.org, ASPMX.L.GOOGLE.COM, ASPMX2.GOOGLEMAIL.COM, ..)?

I'm pretty sure I want the domain-keys records, but I'm not sure which domains to attach them to. The Google mail servers? foo.org and bar.org? Everything?

© Server Fault or respective owner

Related posts about dns

Related posts about email