Subject: Re: Adding TTL information to gethostbyname() and friends
To: The Technology of Networking in NetBSD <tech-net@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-net
Date: 06/03/2003 15:50:43
[ On Tuesday, June 3, 2003 at 12:02:39 (-0700), Erik E. Fair wrote: ]
> Subject: Re: Adding TTL information to gethostbyname() and friends
>
> What ntpd should do is keep the names and the TTL value, and requery
> the DNS for the A record when the TTL expires and/or when the peer
> stops responding. However, we need a decent API to ask the DNS for
> this data.
It should be quite sufficient to re-query the DNS only when the NTP peer
stops responding as a valid NTP peer. Ntpd need not know anything about
DNS TTL values.
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>