[DGD] gethostbyname: No such file or directory

Felix A. Croes felix at dworkin.nl
Thu Jan 29 11:59:41 CET 2004


Antony Riley <antony at flamefew.net> wrote:

> I had exactly the same problem when I first tried to use DGD.
>
> Turned out to be that the driver does a lookup on the hostname of the
> machine to get the address family to use when listening on ports.
>
> (why not just use AF_INET ?)

Because AF_INET was not defined on all of the unices that I wanted DGD
to run on.  Neither was PF_INET.  The latest version of DGD does use
AF_INET directly, though.


> It gets upset if it can't lookup the machine's own hostname.

Whatever you think of that, not having your own machine's hostname in
/etc/hosts is definitely an error in the system configuration.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list