| commit | 870fd780141080c987baa30fffc6db1e8da8e7d1 | [log] [tgz] |
|---|---|---|
| author | Ningyuan Wang <ningyuan@google.com> | Thu May 15 18:24:10 2025 +0900 |
| committer | Ningyuan Wang <ningyuan@google.com> | Mon May 19 13:47:50 2025 +0900 |
| tree | afcf98d657c2fc355f8cd759f6cc6a03bc8dc472 | |
| parent | cd6bf8b192534b071c39edaa8a16535de1273efa [diff] |
dns_proxy: UDP DNS forwarding This CL implements the DNS query sending and reply back to client, with some details left to be filled in later follow-up CLs. To accomodate both test and production, android-specific FFIs are moved behind "android-ffi" feature flag. Flag: EXEMPT MAINLINE Bug: 379992903 Test: m; cargo test --all-features Change-Id: If6c06a56d397298a93c5c3d2ac3e72a7625d4ce5
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.