commit | 2f70586b5510972562231860967b8df6c05822c1 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Fri Apr 08 16:24:44 2022 +0800 |
committer | Ken Chen <cken@google.com> | Fri Apr 08 16:38:41 2022 +0800 |
tree | 102c6db849f138920508ffd70e75fe8628ee27f5 | |
parent | 84f5fa8bca6b2bb693700a65844165cdf3a7a8ed [diff] |
Exclude source port 5353 from DNS query To simplify the code, exclude source port 5353 not only for Multicast but also ordinary Unicast DNS queries. Bug: N/A Test: atest Change-Id: Ie3a882b036991828beecad675b0fbc3c3f60e123
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.