Bug: 134997188

Clone this repo:
  1. 4d70e9e Check if a specific UID is allowed to bypass the private DNS rule on a given network. by Xiao Ma · 7 weeks ago main master
  2. e84ae5b Implement setAllowBypassPrivateDnsOnNetwork API in DnsResolver. by Xiao Ma · 7 weeks ago
  3. 7d2476b Introduce IDnsResolver#setAllowBypassPrivateDnsOnNetwork by Xiao Ma · 7 weeks ago
  4. 4c1dc2f DnsResolver apex - add a NetBpfLoad-S.flag for bpf_existence_test am: 6aabebe017 by Maciej Żenczykowski · 10 weeks ago
  5. 6aabebe DnsResolver apex - add a NetBpfLoad-S.flag for bpf_existence_test by Maciej Żenczykowski · 10 weeks ago

Logging

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.