tree: e0476ae0a19874f889c248baf8a31877923007c8 [path history] [tgz]
  1. .editorconfig
  2. Android.bp
  3. Dns64Configuration.cpp
  4. Dns64Configuration.h
  5. DnsProxyListener.cpp
  6. DnsProxyListener.h
  7. DnsQueryLog.cpp
  8. DnsQueryLog.h
  9. DnsQueryLogTest.cpp
  10. DnsResolver.cpp
  11. DnsResolver.h
  12. DnsResolverService.cpp
  13. DnsResolverService.h
  14. DnsStats.cpp
  15. DnsStats.h
  16. DnsStatsTest.cpp
  17. DnsTlsDispatcher.cpp
  18. DnsTlsDispatcher.h
  19. DnsTlsQueryMap.cpp
  20. DnsTlsQueryMap.h
  21. DnsTlsServer.cpp
  22. DnsTlsServer.h
  23. DnsTlsSessionCache.cpp
  24. DnsTlsSessionCache.h
  25. DnsTlsSocket.cpp
  26. DnsTlsSocket.h
  27. DnsTlsSocketFactory.h
  28. DnsTlsTransport.cpp
  29. DnsTlsTransport.h
  30. IDnsTlsSocket.h
  31. IDnsTlsSocketFactory.h
  32. IDnsTlsSocketObserver.h
  33. LockedQueue.h
  34. NOTICE
  35. OWNERS
  36. PREUPLOAD.cfg
  37. PrivateDnsConfiguration.cpp
  38. PrivateDnsConfiguration.h
  39. README-DoT.md
  40. README.md
  41. ResolverController.cpp
  42. ResolverController.h
  43. ResolverEventReporter.cpp
  44. ResolverEventReporter.h
  45. ResolverStats.h
  46. TEST_MAPPING
  47. aidl_api/
  48. apex/
  49. binder/
  50. getaddrinfo.cpp
  51. getaddrinfo.h
  52. gethnamaddr.cpp
  53. gethnamaddr.h
  54. hostent.h
  55. include/
  56. libnetd_resolv.map.txt
  57. params.h
  58. res_cache.cpp
  59. res_comp.cpp
  60. res_comp.h
  61. res_debug.cpp
  62. res_debug.h
  63. res_init.cpp
  64. res_init.h
  65. res_mkquery.cpp
  66. res_query.cpp
  67. res_send.cpp
  68. res_send.h
  69. res_stats.cpp
  70. resolv_cache.h
  71. resolv_cache_unit_test.cpp
  72. resolv_callback_unit_test.cpp
  73. resolv_private.h
  74. resolv_tls_unit_test.cpp
  75. resolv_unit_test.cpp
  76. sethostent.cpp
  77. stats.h
  78. stats.proto
  79. tests/
  80. util.cpp
  81. util.h
README.md

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.