commit | a17ba5aee1ffde3f71cca4e2c8078a4f6205fd8a | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Thu Mar 03 13:30:03 2022 +0800 |
committer | Ken Chen <cken@google.com> | Fri Mar 04 07:48:26 2022 +0800 |
tree | 686e52a0e5c0efcc14dbf1ffd00581cd5493115b | |
parent | a4d7bb980441bb93f4b33f88e012721663c548ca [diff] |
Exclude VPN and mobile data from .local resolution There is no point in sending multicast DNS over VPN or mobile data. Bug: 209492138 Test: atest Test: adb root; adb shell dumpsys dnsresolver Change-Id: I8987d3c9f219c42247e9fd8f85880a1d49fcedad
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.