globalip (char *d, char ip[4])
{
    if (dns_domain_equal (d, "\011localhost\0"))
    {
        byte_copy (ip, 4, "\177\0\0\1");
        return 1;
    }
    if (dd (d, "", ip) == 4)
        return 1;

    return 0;
}
globalip (char *d, char ip[4])
{
    if (dns_domain_equal (d, "\011localhost\0"))
    {
        byte_copy (ip, 4, "\177\0\0\1");
        return 1;
    }
    if (dd (d, "", ip) == 4)
        return 1;

    return 0;
}