What are the right reverse PTR, domain keys, and SPF settings for two domains running the same appli
- by James A. Rosen
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?