I was looking into the code in res_cache.c in android aosp. It has an cache implementation for DNS entries per each netid. I am just curious to know when that cache will be created (like the interface is up or when the interface sends the first dns packet) and created. Can you please point me to the file in android framework layer that will point me to the point of DNS cache creation. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.