Subject: Re: Adding TTL information to gethostbyname() and friends
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: Love <lha@stacken.kth.se>
List: tech-net
Date: 06/04/2003 01:11:22
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


"Henry B. Hotz" <hotz@jpl.nasa.gov> writes:

> At 1:07 AM +0200 6/3/03, Love wrote:
>>"Greg A. Woods" <woods@weird.com> writes:
>>
>>>  It is never "right" for an application to cache DNS information and th=
us
>>>  it is never "right" for an application to need the DNS TTL values.
>>
>>When the application is something that implements a filesystem, I would s=
ay
>>its never "right" to query the DNS server for ever request to the
>>fileserver. Thus, you want to cache in the application.
>
> The CellServDB stores IP numbers so I guess this is moot for AFS, but
> not for network file systems in general.

AFS clients, both arla and openafs can use AFSDB-rr, that requires DNS.

> Does Arla back up to DNS lookup for file servers or only for Kerberos
> servers?  If so does it requery DNS when the connection fails?

Arla currently only uses DNS TTL to figure out when to refetch information.
I guess we should try to refetch DNS information when vldb server isn't
there.

Love

=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iQIVAwUBPt0rHhZyDLTSep3UAQLObw/9FzUKMvfBxPfnXbUfh7Ma3FteTlo+FQ8H
4URU1Z4tLMVdDUZrUX8FcJ69cKDjT3hozldH+/pgYZHm5KEKd4Q766GR6nyDiJi6
R7xJo6hRelAH1KJHDBFreUEw9uRH5ccBb7Ad6zx3GyxrLG6vDBMx49yUP+Kofrtj
cvd6g1VNIlr6zkZ16sG5KOyVBIPoAv36jdoZBoB6c26OXHCY0Co+lnwbabap+rk5
Ftd0T11XY2GYUpi4XZs8kQRtJ1wwEYRi75G7Ftwb8Y2FeqR7gbcNCmEi84uvR71y
SNsbIqHom2cWfh4Dx4eZylj9kEvpKqNKQKcjfdWNMJMv8qPnxhWUuDMIlhjHuwxY
+tPMTgpp90zdxUvLGqPpYBZcDYmOl5apf/Zx7cJdaBe0aDGxcWkYS/Awj1u4Hew8
KlDaoIVB0lENsDNRfYxgvwFZ3304U/gTG0o19cdKRT8cS4FEgRsoiMme82PbEqq1
qc+N7VvQFeTfP2MZ1pfZA7fJaCx10ng5MHwBMUmqVoPfBFzv1/8Kh0pfANJFrzwp
+6vg3IHfkMhwZ/YpW+ffHvh+4Co4fJIiNZEZCCFmau3Kbbp9zyk8SM0eQX23ZSMq
Z6tBEjipXOWd0c8+FNZRAagbPbgmvk0Bo5jBYXheCpD1Z7iUs4KFJXF4dpQL0UZK
AEFf+JDIZ18=3D
=3DDCiR
=2D----END PGP SIGNATURE-----