aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-07-17 14:56:57 +0200
committerKim Alvefur <zash@zash.se>2023-07-17 14:56:57 +0200
commit683b90f87125b405b16bfe3e4654e024fc70345a (patch)
tree87b17f4be446eba3d2e88cb9b2a1e4a6cb28bbe5 /util/prosodyctl
parent43c39930c3988b9a1cf9c249861d6f500c864031 (diff)
downloadprosody-683b90f87125b405b16bfe3e4654e024fc70345a.tar.gz
prosody-683b90f87125b405b16bfe3e4654e024fc70345a.zip
util.prosodyctl.check: Hint about the 'external_addresses' config option
Diffstat (limited to 'util/prosodyctl')
-rw-r--r--util/prosodyctl/check.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua
index f010af73..dcffb88a 100644
--- a/util/prosodyctl/check.lua
+++ b/util/prosodyctl/check.lua
@@ -828,6 +828,8 @@ local function check(arg)
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 @@ local function check(arg)
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");