prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
--- a/prosodyctl Fri May 17 14:53:51 2013 +0100
+++ b/prosodyctl Fri May 17 14:55:05 2013 +0100
@@ -879,6 +879,7 @@
else
if c2s_srv_required then
print(" No _xmpp-client SRV record found for "..host..", but it looks like you need one.");
+ all_targst_ok = false;
else
target_hosts:add(host);
end
@@ -895,6 +896,7 @@
else
if s2s_srv_required then
print(" No _xmpp-server SRV record found for "..host..", but it looks like you need one.");
+ all_targets_ok = false;
else
target_hosts:add(host);
end