"IMO, this is too tightly coupled to a particular service discovery strategy. As sirois said, an mdns resolver would a reasonable choice as well, and a second resolver implementation should require new flags to use.
Instead, I'd recommend something like --resolver with choices ['none', 'pinger', 'rest-hostlist'], where 'none' disables pinging, and 'rest-hostlist' uses the hostnames from the the --read-to and --write-from as its inputs.” <— assuming this