[PATCH][BZ #13928] Use minimum ttl value from dns query
Carlos O'Donell
carlos@systemhalted.org
Fri Mar 30 13:14:00 GMT 2012
On Fri, Mar 30, 2012 at 3:08 AM, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> 2012-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
>
> * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
> from a CNAME entry and return the minimum ttl for the query.
> (gaih_getanswer_slice): Likewise.
OK to checkin with two changes:
(a) Merge copyright years.
(b) Add a comment to each change of "< *ttlp" saying *why* the lowest
TTL is used e.g. "The entry expires when any one of the lookups
expires, therefore the entry TTL is the minimum TTL of the lookups."
Cheers,
Carlos.
More information about the Libc-alpha
mailing list