[dns-operations] Who Ignores TTLs ?

Joseph S D Yao jsdy at tux.org
Fri Feb 18 23:05:53 UTC 2011


On Fri, Feb 18, 2011 at 11:10:14AM +1100, Mark Andrews wrote:
> 
> In message <4D5D392E.33E4.0097.1 at globalstar.com>, "Crist Clark" writes:
> > >>> On 2/17/2011 at 11:25 AM, David Conrad <drc at virtualized.org> wrote:
> > > On Feb 17, 2011, at 9:31 AM, Rick Jones wrote:
> > >> Mark Andrews wrote:
> > >>> It's the apps not the caches that don't respect TTLs.
> > >> Well, they can't really.  Certainly not directly.  Getaddrinfo() (or 
> > > gethostbyname()) don't give TTL information to the application.  
> > > 
> > > Yes, the current APIs suck, but I don't think the application should try to
> 
> getaddrinfo() is designed to be extendable.  If we really need to
> it is possible to add this to getaddrinfo().  The hard part is what
> to ttl to set on nis/ldap/hosts derived data.


2147483647 (2^31-1)?  But that doesn't allow for the resource changing.
Perhaps setting it to -1 and defining that as undefined.


--
/*********************************************************************\
**
** Joe Yao				jsdy at tux.org - Joseph S. D. Yao
**
\*********************************************************************/



More information about the dns-operations mailing list