commit | 690b19fad9b041cea89d2e8cb74004f334e829c5 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Feb 08 20:32:57 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu May 13 11:25:20 2021 +0800 |
tree | 6f63c900b4f9879d767bf1af4bc65e03b652cf24 | |
parent | ad96ef83d396ddccfe25b9ec076587f66f82178c [diff] |
Introduce IPrivateDnsServer This is a base class for DnsTlsServer and defines some common functions for both DoT and DoH. No functionality changes. Bug: 186177613 Test: cd packages/modules/DnsResolver && atest Change-Id: If4744456b973789a0d6ecddc3fdda70431ee16d4
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.