log_rrsoa (const char server[4], const char *q, const char *n1,
                    const char *n2, const char misc[20], unsigned int ttl)
{
    int i = 0;
    uint32 u = 0;

    string ("rr ");
    ip (server);
    space ();
    number (ttl);
    string (" soa ");
    name (q);
    space ();
    name (n1);
    space ();
    name (n2);
    for (i = 0; i < 20; i += 4)
    {
        uint32_unpack_big (misc + i, &u);
        space ();
        number (u);
    }

    line ();
}
log_rrsoa (const char server[4], const char *q, const char *n1,
                    const char *n2, const char misc[20], unsigned int ttl)
{
    int i = 0;
    uint32 u = 0;

    string ("rr ");
    ip (server);
    space ();
    number (ttl);
    string (" soa ");
    name (q);
    space ();
    name (n1);
    space ();
    name (n2);
    for (i = 0; i < 20; i += 4)
    {
        uint32_unpack_big (misc + i, &u);
        space ();
        number (u);
    }

    line ();
}