# HG changeset patch # User Matthew Wild # Date 1646237548 0 # Node ID f0be98bab9dd5756275763a83b01e54dd48342a2 # Parent 8fc3c06f922d23b3d57c19884f8485c889d34423 prosodyctl: check dns: Allow admin to specify undiscoverable external IPs in config diff -r 8fc3c06f922d -r f0be98bab9dd util/prosodyctl/check.lua --- a/util/prosodyctl/check.lua Wed Mar 02 16:02:42 2022 +0000 +++ b/util/prosodyctl/check.lua Wed Mar 02 16:12:28 2022 +0000 @@ -546,6 +546,11 @@ end end + -- Allow admin to specify additional (e.g. undiscoverable) IP addresses in the config + for _, address in ipairs(configmanager.get("*", "external_addresses") or {}) do + external_addresses:add(address); + end + if external_addresses:empty() then print(""); print(" Failed to determine the external addresses of this server. Checks may be inaccurate.");