Peerage v0.1.0 Peerage.Via.Dns

Use Dns-based service discovery to connect Nodes.

Example

config :peerage, via: Peerage.Via.Dns, 
  dns_name: "localhost", 
  app_name: "myapp" 

Will look up the ip(s) for ‘localhost’, and then try to connect to myapp@$IP for each returned ip.

Context and resources

Summary

Functions

interval()
poll()

Callback implementation for Peerage.Server.poll/0.

start_link()