[erlang-questions] Longnames vs. shortnames (yet again)

Matwey V. Kornilov matwey.kornilov@REDACTED
Sun Feb 14 12:57:32 CET 2016


14.02.2016 13:57, PAILLEAU Eric пишет:
> Le 13/02/2016 22:02, Matwey V. Kornilov a écrit :
>> Hello,
>>
>> When I should use longnames and when I should use shortnames?
>>
>> net_kernel:create_hostpart/2 allows me to understand the difference in
>> behavior, but I can't understand what is the purpose to have both
>> longnames and shortnames. I suppose that there are different use-cases
>> for longnames and shortnames. Unfortunately, Erlang documentation lacks
>> clear explanation here.
> Hi,
> erl manual is clear on this point for -sname :
> " This  is  sometimes the only way to run distributed Erlang if the DNS
> (Domain Name System) is not running. "

Should I avoid using -sname until DNS is not running?





More information about the erlang-questions mailing list