Hi,

this patchset implements a simple DNS A and AAAA record caching
based on their TTL. The caching is implemented inside dnsproxy.

Following limits are implemented in the cache:
- max number of cached entries is currently 256 (in order to not use
  too much memory, each cache entry is about 100 bytes long)
- max cache ttl is set to 30min so the cache entry can stay in the cache
  only maximum 30 minutes (in order not to flood the cache with long
  ttl entries)

Regards,
Jukka


  TODO: DNS caching
  dnsproxy: Implement A and AAAA DNS record caching.
  dnsproxy: Fix indentation.

 TODO           |    9 --
 src/dnsproxy.c |  418 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 407 insertions(+), 20 deletions(-)

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to