# HG changeset patch # User Matthew Wild # Date 1368798905 -3600 # Node ID 8745193e651eb0a6cecb7893533487cd8de89151 # Parent 8c1a3243d16ff20045295ed64cfcfc0b244cb00b prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found diff -r 8c1a3243d16f -r 8745193e651e 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