Short DNS names #360

andrewelkin opened this Issue Sep 5, 2013 · 2 comments


None yet

4 participants


What the hell is that? Do I need my own DNS server for disco?

I tried to use DNS forwarder but hell it does not allow these short names like "node1". Only
And why cant I use plain vanilla ip address? It should be the common denominator for every addressing scheme!

Disco Project member

Short DNS names means that bare hostnames (i.e. without the qualifying domain-names) should resolve in your disco cluster. This just rides on any existing DNS setup you probably have in your cluster, and just requires that all disco nodes reside in the same domain.

The restriction to short hostnames is due to a limitation in Erlang, which either supports short names or long names (i.e. FQDNs), but not a mixed configuration, or IP addresses. These issues could be worked around. but hasn't been a priority; patches happily accepted.

@pooya pooya was assigned Jan 7, 2014


Although the documentation says "you should be relying on DNS to resolve hostnames, not /etc/hosts on an individual machine" I'm doing just that. I have a small cluster and managing host files is a lot easier than setting up and maintaining a local DNS server.

So far, everything seems to work. Perhaps there are some "gotchas" that I don't (yet) know about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment