commit | 61df10c808e1cecde63b086dd2b34d0bfd82d5be | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Thu Jul 08 12:19:54 2021 +0800 |
committer | chenbruce <chenbruce@google.com> | Mon Jul 12 21:57:10 2021 +0800 |
tree | 2dfc930f66ae8fc31901de45ae88d905c7a2ff03 | |
parent | 95450851b4ce1c1c125374e115410692c6f876d5 [diff] |
Set UNICAST-RESPONSE bit for mDNS The field is used to minimize unnecessary broadcasts on the network. Bug: 140857615 Test: cd packages/modules/DnsResolver && atest Change-Id: I54bc6f7cd41ff9687d4de8c9e87780ce805df050
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.