Changeset

13220:56decf85db1d

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 14:57:27 +0200
parents 13218:e576c6a0d1f8 (current diff) 13219:22763b30e458 (diff)
children 13221:2a9ce229efac
files util/prosodyctl/check.lua
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Mon Jul 17 14:47:39 2023 +0200
+++ b/util/prosodyctl/check.lua	Mon Jul 17 14:57:27 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");