commit | e9b78d82c89214c8f754a5c8fb2b15c437a598fb | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed May 20 20:58:49 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Thu May 21 20:21:20 2020 +0800 |
tree | 3fdec46dc96c6e69fb9e3d990bd320f905b2bbd8 | |
parent | 17bb79ae1e454fad03eab7e915c9aeebda826547 [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) Change-Id: Ibb3e3e1ce0b43cb74962dd4436a47e9b458fa19a
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.