Software /
code /
prosody
Diff
prosodyctl @ 5589:8745193e651e
prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 17 May 2013 14:55:05 +0100 |
parent | 5585:3e097acf82de |
child | 5590:597450c73ce6 |
line wrap: on
line diff
--- 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