commit | bad8b8825eaadf6db376dc564416732b9f408690 | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Wed Jun 16 18:44:11 2021 +0800 |
committer | chenbruce <chenbruce@google.com> | Fri Jun 25 19:14:40 2021 +0800 |
tree | 8c07adaca312e8d5250137873ed1408b3e98b55a | |
parent | ce61df396fab052f6736d287e0e5d338e07760d8 [diff] |
Setting a DnsQueryEvent for mDNS When .local resolution is working in the field, identifying the query as being multicast. Bug: 140857615 Test: cd packages/modules/DnsResolver && atest Change-Id: I809967e0899030c05dce4c03a15fee7cf8e7ab26
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.