Skip to Content.
Sympa Menu

en - Re: [sympa-users] DNS settings for multiple virtual hosts: best practices

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Tom Browder <address@concealed>
  • To: "McLaren, Terry" <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] DNS settings for multiple virtual hosts: best practices
  • Date: Wed, 29 Jan 2020 11:52:09 -0600

[Note: I don't usually top post but Terry forgot to CC this list.]

Terry, I don't understand how that will work when my virtual hosts are
unique domains. So, my mail server (mail.example.com) should work for:

address@concealed
address@concealed
address@concealed
address@concealed
...

-Tom

On Wed, Jan 29, 2020 at 10:05 AM McLaren, Terry <address@concealed> wrote:
>
> Hi Tom - We run 25 robots on the same server at U of I and cname all of
> them to our primary robot, lists.illinois.edu. This way they inherit all
> other dns settings (mx, spf, etc).
>
> Terry McLaren
>
> -----Original Message-----
> From: address@concealed
> <address@concealed> On Behalf Of Tom Browder
> Sent: Wednesday, January 29, 2020 9:29 AM
> To: address@concealed
> Subject: [sympa-users] DNS settings for multiple virtual hosts: best
> practices
>
> It seems like every guide I read about DNS settings to handle a single mail
> server for multiple virtual hosts has a slightly different approach for
> required DNS records.
>
> Can anyone point me to a good recipe for how to do such?
>
> Here is what I have come up with so far with help from experts on the
> Postfix mailing list (from several years ago):
>
> https://github.com/tbrowder/apache-httpd-tidbits/blob/master/MAIL-DNS.md
>
> Repeated less clearly here:
> ===================
>
> Given:
>
> a single Debian server
> running Apache httpd
> use as a mail server
> use as a webserver with multiple virtual hosts static IP address:
> 192.168.2.100 mail server name: mail.example.com
>
> DNS records for all virtual hosts named X.TLD (including example.com):
>
> X.TLD. IN A w
> WWW.X.TLD. IN CNAME X.TLD.
> @. IN MX X.TLD.
> @. IN TXT "v=spf1 mx ?all"
> X.TLD. IN MX 10 mail.example.com.
>
> additional DNS records for example.com:
>
> mail.example.com. IN CNAME example.com
> 100.2.168.192.in-addr.arpa. IN PTR mail.example.com.
>
> A PR would be cool for corrections.
>
> Thanks.
>
> -Tom



Archive powered by MHonArc 2.6.19+.

Top of Page