long names not working on Windows 2000

Vance Shipley vances@REDACTED
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
name).

Eshell V5.0.1  (abort with ^G)

(vances@REDACTED)1> inet_db:gethostname().
"desk"

(vances@REDACTED)2> inet_db:res_option(domain).
[]


Yet in a DOS shell I can do something like:


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

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

Ping statistics for 192.197.189.1:
    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