prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
authorMatthew Wild <mwild1@gmail.com>
Fri, 17 May 2013 14:55:05 +0100
changeset 5589 8745193e651e
parent 5588 8c1a3243d16f
child 5590 597450c73ce6
prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
prosodyctl
--- 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