# HG changeset patch # User Kim Alvefur # Date 1689598617 -7200 # Node ID 22763b30e4582c0ca66acc4b98208e4eb34fe11f # Parent b264ea91e9308f280733988b45db7c3708f41440 util.prosodyctl.check: Hint about the 'external_addresses' config option diff -r b264ea91e930 -r 22763b30e458 util/prosodyctl/check.lua --- a/util/prosodyctl/check.lua Mon Jul 17 14:45:15 2023 +0200 +++ b/util/prosodyctl/check.lua Mon Jul 17 14:56:57 2023 +0200 @@ -828,6 +828,8 @@ if external_addresses:empty() then print(""); print(" Failed to determine the external addresses of this server. Checks may be inaccurate."); + print(" If you know the correct external addresses you can specify them in the config like:") + print(" external_addresses = { \"192.0.2.34\", \"2001:db8::abcd:1234\" }") c2s_srv_required, s2s_srv_required = true, true; end @@ -1103,6 +1105,9 @@ print(""); print(" Internal: "..tostring(internal_addresses)); print(" External: "..tostring(external_addresses)); + print("") + print("If the list of external external addresses is incorrect you can specify correct addresses in the config:") + print(" external_addresses = { \"192.0.2.34\", \"2001:db8::abcd:1234\" }") end print(""); print("For more information about DNS configuration please see https://prosody.im/doc/dns");