History log of /bionic/libc/dns/include/resolv_stats.h
Revision Date Author Comments
21bf06372742b0524c358502eb692a2245d64dda 17-Apr-2016 Pierre Imai <imaipi@google.com> DO NOT MERGE Add new info functions to resolver for use by Netd.

android_net_res_stats_get_info_for_net returns the current name servers, search
domains, parameters and stats for the given network ID.

android_net_res_stats_aggregate provides statistics such as errors counts from
the raw stats data reported by android_net_res_stats_get_info_for_net.

android_net_res_stats_get_usable_servers uses the data returned by
android_net_res_stats_aggregate to determine which of the servers are
considered valid or broken by the resolver.

BUG: 25731675
Change-Id: I6059b68e5e8b809027a4d3135f6081588bee8a7d
97c9d73a8787e3d8e0a4a4b3445fc5d71f0eb222 17-Apr-2016 Pierre Imai <imaipi@google.com> Add new info functions to resolver for use by Netd.

android_net_res_stats_get_info_for_net returns the current name servers, search
domains, parameters and stats for the given network ID.

android_net_res_stats_aggregate provides statistics such as errors counts from
the raw stats data reported by android_net_res_stats_get_info_for_net.

android_net_res_stats_get_usable_servers uses the data returned by
android_net_res_stats_aggregate to determine which of the servers are
considered valid or broken by the resolver.

BUG: 25731675

Change-Id: I6059b68e5e8b809027a4d3135f6081588bee8a7d
8b50d08e826dacdd9422b7151121808307da3a10 05-Apr-2016 Pierre Imai <imaipi@google.com> DO NOT MERGE: Fix off-by-one error in res_cache.c

(cherry picked from commit 03844d8cdb43c351d2c94eb67242966019f7600d)

Change-Id: Ib5fff46ac9211716a1577ee25bb22461c489ea9f
4d8e740b0868b2670599b949ff07d74e5f317114 22-Feb-2016 Pierre Imai <imaipi@google.com> DO NOT MERGE: Ignore unreliable DNS servers.

Collect statistics about DNS query success state and delay. Ignore
servers that have been tried at least five times and have a success rate
of < 0.25. Retry these servers once every 180s.

Bug: 25731675

(cherry picked from commit 6b3f0d65f2c706625e5efb495df0f2c6178b965a)

Change-Id: Id989404b14fd885fb31a5a4de36a4186be1c9ad1
03844d8cdb43c351d2c94eb67242966019f7600d 05-Apr-2016 Pierre Imai <imaipi@google.com> Fix off-by-one error in res_cache.c

Change-Id: I58264902c123b3bc0d392d17837aa537ca0a3ca2
6b3f0d65f2c706625e5efb495df0f2c6178b965a 22-Feb-2016 Pierre Imai <imaipi@google.com> Ignore unreliable DNS servers.

Collect statistics about DNS query success state and delay. Ignore
servers that have been tried at least five times and have a success rate
of < 0.25. Retry these servers once every 180s.

Bug: 25731675
Change-Id: I78e24f43e388dca82fb81835e1796f4c7dce8da3