commit | 8ab18ba21bec91c2e0b523abe01e3746b04733da | [log] [tgz] |
---|---|---|
author | Praveen Moongalam Thyagarajan <p.thyagarajan@samsung.com> | Wed Sep 04 14:46:50 2019 -0700 |
committer | Ken Chen <cken@google.com> | Mon Oct 21 19:28:50 2019 +0800 |
tree | a170ee16984d451a1bbae0875444b2c81c09be89 | |
parent | 7803769cacfd23dc014dd4a15edcb4e9f8ccd670 [diff] |
Support RDNS on cache and uid/pid tagging RDNS on local cache Function that performs RDNS on local cache. Takes ip address and net id as input and gives domain name as output. Tag DNS query Function that tags the uid and pid of the application that sends DNS query. Bug: 131051938 Test: build, flash, boot Change-Id: I34abfc63d65f37e00dd813c9121ff483e4f85e7d
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.