Multiple, Independent Mailservers in 1 Domain

This section contains user-submitted tutorials.
Post Reply
User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Multiple, Independent Mailservers in 1 Domain

Post by Dravion » 2017-05-05 10:18

As admins, we sometimes need more then just 1 mail server (for smtp, imap, pop3) but there is only 1 dedicated mx exchanger RR record per each domain (mx02, mx03 are only fallbacks).

The Solution: Define DNS-Subzones
In this scenario, we assume moonlight-systems.com is our primary domain name

Our Subdomains are:
office.moonlight-systems.com
production.moonlight-systems.com

All three Domains can be managed by hMailServer if the necessary DNS-Server entries are
correctly setup as the picture shows:
multi_mx.png
It looks like this in Thunderbird:
multi_mx_thunderbird.png
DNS-Diagnostics:
C:\>host moonlight-systems.com
moonlight-systems.com has address 194.241.203.171
moonlight-systems.com mail is handled by 10 smtp.moonlight-systems.com.

C:\>host office.moonlight-systems.com
office.moonlight-systems.com has address 194.241.203.172
office.moonlight-systems.com mail is handled by 10 mail.office.moonlight-systems.com.

C:\>host production.moonlight-systems.com
production.moonlight-systems.com has address 194.241.203.173
production.moonlight-systems.com mail is handled by 10 smtp.production.moonlight-systems.com.

Unzip the attached file and take a look into the 3 Forward and 3 Reverse lookup files if
you want to play arround with it. You need Bind9 for Windows (32 or 64 doesnt matter)

Bind9 ((OpenSource) 64 and 32-Bit for Windows
https://www.isc.org/downloads/file/bind ... win-64-bit
https://www.isc.org/downloads/file/bind ... win-32-bit


The 6x files total from the zip archive should be extracted into
C:\Program Files\ISC_BIND9\etc\*
Attachments
bind9_multi_mx_dns_tutorial_moonlight-systems.com.zip
(2.77 KiB) Downloaded 238 times
Last edited by jimimaseye on 2017-05-05 10:34, edited 1 time in total.
Reason: typo in title

Post Reply