commit | d5389f155cb30ec5f8fd217cdaa607b14d4682f3 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu May 21 14:43:20 2020 +0000 |
committer | Mike Yu <yumike@google.com> | Mon May 25 13:52:57 2020 +0800 |
tree | 8a16b824bfcecefceb48e78169460f74574e97f5 | |
parent | ad315c9d74d28390285ff33143ec0ad7d9f8adfb [diff] |
Drop the dependency of Fwmark The resolver used to generate the desired network mark for DoT sockets. Now, change to get the network mark from netd. Bug: 151895202 Test: Private DNS works as usual (even on VPN) Merged-In: Ibb3e3e1ce0b43cb74962dd4436a47e9b458fa19a Change-Id: I9698b3c73e410fce79dac044919f874768fc6a04 (cherry picked from commit ab43958ef7dbdf10b5ba310bc436173a0785f58f)
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.