Comparison

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
comparison
equal deleted inserted replaced
5588:8c1a3243d16f 5589:8745193e651e
877 end 877 end
878 end 878 end
879 else 879 else
880 if c2s_srv_required then 880 if c2s_srv_required then
881 print(" No _xmpp-client SRV record found for "..host..", but it looks like you need one."); 881 print(" No _xmpp-client SRV record found for "..host..", but it looks like you need one.");
882 all_targst_ok = false;
882 else 883 else
883 target_hosts:add(host); 884 target_hosts:add(host);
884 end 885 end
885 end 886 end
886 end 887 end
893 end 894 end
894 end 895 end
895 else 896 else
896 if s2s_srv_required then 897 if s2s_srv_required then
897 print(" No _xmpp-server SRV record found for "..host..", but it looks like you need one."); 898 print(" No _xmpp-server SRV record found for "..host..", but it looks like you need one.");
899 all_targets_ok = false;
898 else 900 else
899 target_hosts:add(host); 901 target_hosts:add(host);
900 end 902 end
901 end 903 end
902 if target_hosts:empty() then 904 if target_hosts:empty() then