diff --git a/cmdeploy/src/cmdeploy/cmdeploy.py b/cmdeploy/src/cmdeploy/cmdeploy.py index 8675434f..6e2f1d25 100644 --- a/cmdeploy/src/cmdeploy/cmdeploy.py +++ b/cmdeploy/src/cmdeploy/cmdeploy.py @@ -38,10 +38,6 @@ def init_cmd(args, out): else: write_initial_config(args.inipath, mail_domain) out.green(f"created config file for {mail_domain} in {args.inipath}") - check_necessary_dns( - out, - mail_domain, - ) def run_cmd_options(parser): diff --git a/cmdeploy/src/cmdeploy/dns.py b/cmdeploy/src/cmdeploy/dns.py index 46b20e01..07c98b7f 100644 --- a/cmdeploy/src/cmdeploy/dns.py +++ b/cmdeploy/src/cmdeploy/dns.py @@ -183,6 +183,7 @@ def show_dns(args, out) -> int: def check_necessary_dns(out, mail_domain): """Check whether $mail_domain and mta-sts.$mail_domain resolve.""" + print("Checking necessary DNS records... ") dns = DNS(out, mail_domain) ipv4 = dns.get("A", mail_domain) ipv6 = dns.get("AAAA", mail_domain) @@ -204,5 +205,5 @@ def check_necessary_dns(out, mail_domain): print(line) print() else: - dns.out.green("\nAll necessary DNS entries seem to be set.") + dns.out.green("All necessary DNS records seem to be set.") return True