[AFS3-std] DNS SRV Resource Records for AFS

Derrick Brashear shadow@gmail.com
Mon, 5 Oct 2009 14:39:32 -0400


> Although this is an implementation detail, as a point of fact the
> Windows cache manager records
> AFSDB record TTL values and uses them to timeout the server lists. =A0It
> is true that the
> Unix cache manager does not do so and this should be fixed but that is no=
t
> a topic for this list.

Actually, it's not.

        ttl =3D (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];
        p +=3D 4;                 /* Skip the TTL */

...
                if (!minttl || ttl < minttl)
                    minttl =3D ttl;
...
    acellInfo->timeout =3D minttl ? (time(0) + minttl) : 0;