OSDN Git Service

Cache negative DNS results.
authorRobert Greenwalt <rgreenwalt@google.com>
Mon, 7 Jan 2013 20:10:06 +0000 (12:10 -0800)
committerRobert Greenwalt <rgreenwalt@google.com>
Thu, 10 Jan 2013 00:36:33 +0000 (16:36 -0800)
commit78851f10d1937a5e9477c42a29c1bcf0f47b5ef4
tree103d816de34cbd865709ca22a8d0d4f3a1665817
parent00ab4eb0db54ba36176cb0897cdc5f23f7ade64e
Cache negative DNS results.

Find the TTL for the negative results using the minimum of
the SOA records TTL or the MINIMUM-TTL field (RFC-2308).

bug:5926539
Change-Id: I6d39c9fb558afcb7a4a5bc014d97dab4a85c0d4f
libc/netbsd/resolv/res_cache.c