Bug: 134997188

Clone this repo:
  1. d572139 Merge "ADD new enum NetworkType to identify multiple transport type in stats.proto" by Frank Li · 3 days ago master
  2. ecc5282 Remove nscount in ResState and NetConfig by Mike Yu · 2 weeks ago
  3. 6407ae4 Move the legacy stats function declarations out of resolv_private.h by Mike Yu · 3 weeks ago
  4. c573a3d Retrieve the res_stats based on a given list of nameserver addresses by Mike Yu · 3 weeks ago
  5. e48f7b5 Refactor ResState to store nameserver addresses by IPSockAddr by Mike Yu · 3 weeks ago

Logging

This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.