This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #13928] Use minimum ttl value from dns query
On Fri, 30 Mar 2012 09:14:10 -0400
"Carlos O'Donell" <carlos@systemhalted.org> wrote:
> 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."
Committed. NEWS and ChangeLog updated.
Thanks,
Siddhesh