long names not working on Windows 2000

Vance Shipley <>
Thu Jan 11 03:04:00 CET 2001

> Try inet_db:gethostname() and inet_db:res_option(domain) in a shell
> (this is what net_kernel uses to construct the host part of a long node

Eshell V5.0.1  (abort with ^G)

()1> inet_db:gethostname().

()2> inet_db:res_option(domain).

Yet in a DOS shell I can do something like:

C:\> ping mail
 Pinging mail.motivity.ca [] with 32 bytes of data:

Reply from bytes=32 time<10ms TTL=64
Reply from bytes=32 time<10ms TTL=64

Ping statistics for
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms

More information about the erlang-questions mailing list