long names not working on Windows 2000

David Gould dg@REDACTED
Thu Jan 11 05:29:48 CET 2001

On Wed, Jan 10, 2001 at 09:04:00PM -0500, Vance Shipley wrote:
> > 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"

This means that the current host has the name "desk".

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

This means that the current host does not have a domain.

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

This means that "mail" is a host named mail in the domain "motivity.ca".
ping can find it because your DNS or hosts file has an alias for
mail to mail.motivity.ca, or that your resolver is configured to search
domain "motivity.ca" when queried with just a host name.

However host "mail" has nothing to do with host "desk".

What host "mail" needs is to be configured to be part of some domain.


David Gould                                                 dg@REDACTED
SuSE, Inc.,  580 2cd St. #210,  Oakland, CA 94607          510.628.3380
why would you want to own /dev/null? "ooo! ooo! look! i stole nothing!
i'm the thief of nihilism! i'm the new god of zen monks."

More information about the erlang-questions mailing list