Question of understanding

Hunduster

New Member
May 13, 2023
15
3
3
Düsseldorf, Germany
Hello all,

I am quite new to PMG and I really like it too. Everything works as it should.

Now I would like to build a cluster with two machines and have a question about the hostnames/FQDN.


I currently have one PMG instance:

FQDN: mail.mydomain.com
Hostname: mail

My public DNS entries look like this:

Public-IP-Provider1: mx00.mydomain.com
Public-IP-Provider2: mx01.mydomain.com

PTR Record both Provider IPs: mail.mydomain.com
SMTP Banner: mail.mydomain.com

There is an OPNsense firewall in front of the PMG, which makes a DNAT on the PMG.
Currently, both MX records point to my one PMG instance.

The goal is a cluster of two instances with one MX record each.

My question now relates to how I name the two instances and whether their FQDN in particular must be resolvable in the public DNS.

Or can I name the instances as follows:

Instance 1:

FQDN: srv1.localdomain.local
Hostname: srv1

Instance 2:

FQDN: srv2.localdomain.local
Hostname: srv2

It is important to me that e-mails, whether from instance 1 or instance 2, are always sent out with the FQDN: mail.mydomain.com
and that both servers also report incoming mails with this FQDN.


Many thanks for your help
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!