An OTP application for helping discover Erlang nodes
$ rebar3 compile
sys.config:
{werld, [
%% Enables automatic discovery
{automatically_discover_cluster, true},
%% Which methods to use to learn about nodes
{discovery_methods, [net_adm_world, inet_res_nslookup]},
%% The CNAME record to use when looking up with inet_res_nslookup
{discovery_cname, "foo.bar.com"},
%% The name of the release running on the discovered nodes
{expected_release_name, "foo"},
%% The time in-between checking for distributed nodes
{discover_interval, 60000}
]}