commit | f203d85ccb522a8e8d1588eb919d4e424d3d9cae | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Jul 30 19:53:38 2021 +0000 |
committer | Bernie Innocenti <codewiz@google.com> | Wed Aug 04 08:30:07 2021 +0000 |
tree | 1f5c54eea2b43a56aa9d2b39ac826e9cfabd32c5 | |
parent | 509e37053762fbb52c2fb1e6cd9a14c1f685b099 [diff] |
Move bug workaround for old resolvers past the Private DNS codepath There's an anecdotal bug where a buggy resolver might drop queries which are sent too close together. We have never observed this bug directly, but we assume that it might exist in very old resolvers. Private DNS resolvers implementing DoH and DoT are modern codebases and thus shouldn't need this workaround. Change-Id: Id0242063791fd295fa584b7b46e8938a62c71f42
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.