replace listener config option IPsNATed with NATIPs, and let autotls check NATIPs

NATIPs lists the public IPs, so we can still do the DNS checks on them. with
IPsNATed, we disabled the checks.

based on feedback by kikoreis in issue #52
This commit is contained in:
Mechiel Lukkien
2023-08-11 10:13:17 +02:00
parent d7df70acd8
commit 55d05c6bea
6 changed files with 82 additions and 19 deletions

View File

@ -110,9 +110,15 @@ describe-static" and "mox config describe-domains":
IPs:
-
# Set this if the specified IPs are not the public IPs, but are NATed. This makes
# the DNS check skip a few checks related to IPs, such as for iprev, mx, spf,
# autoconfig, autodiscover. (optional)
# If set, the mail server is configured behind a NAT and field IPs are internal
# instead of the public IPs, while NATIPs lists the public IPs. Used during
# IP-related DNS self-checks, such as for iprev, mx, spf, autoconfig,
# autodiscover, and for autotls. (optional)
NATIPs:
-
# Deprecated, use NATIPs instead. If set, IPs are not the public IPs, but are
# NATed. Skips IP-related DNS self-checks. (optional)
IPsNATed: false
# If empty, the config global Hostname is used. (optional)