android13/packages/modules/DnsResolver
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
aidl_api/dnsresolver_aidl_interface initial 2024-06-22 20:45:49 +08:00
apex initial 2024-06-22 20:45:49 +08:00
binder/android/net initial 2024-06-22 20:45:49 +08:00
doh initial 2024-06-22 20:45:49 +08:00
include initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
.clang-format initial 2024-06-22 20:45:49 +08:00
.editorconfig initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
Dns64Configuration.cpp initial 2024-06-22 20:45:49 +08:00
Dns64Configuration.h initial 2024-06-22 20:45:49 +08:00
DnsProxyListener.cpp initial 2024-06-22 20:45:49 +08:00
DnsProxyListener.h initial 2024-06-22 20:45:49 +08:00
DnsQueryLog.cpp initial 2024-06-22 20:45:49 +08:00
DnsQueryLog.h initial 2024-06-22 20:45:49 +08:00
DnsQueryLogTest.cpp initial 2024-06-22 20:45:49 +08:00
DnsResolver.cpp initial 2024-06-22 20:45:49 +08:00
DnsResolver.h initial 2024-06-22 20:45:49 +08:00
DnsResolverService.cpp initial 2024-06-22 20:45:49 +08:00
DnsResolverService.h initial 2024-06-22 20:45:49 +08:00
DnsStats.cpp initial 2024-06-22 20:45:49 +08:00
DnsStats.h initial 2024-06-22 20:45:49 +08:00
DnsStatsTest.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsDispatcher.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsDispatcher.h initial 2024-06-22 20:45:49 +08:00
DnsTlsQueryMap.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsQueryMap.h initial 2024-06-22 20:45:49 +08:00
DnsTlsServer.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsServer.h initial 2024-06-22 20:45:49 +08:00
DnsTlsSessionCache.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsSessionCache.h initial 2024-06-22 20:45:49 +08:00
DnsTlsSocket.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsSocket.h initial 2024-06-22 20:45:49 +08:00
DnsTlsSocketFactory.h initial 2024-06-22 20:45:49 +08:00
DnsTlsTransport.cpp initial 2024-06-22 20:45:49 +08:00
DnsTlsTransport.h initial 2024-06-22 20:45:49 +08:00
Experiments.cpp initial 2024-06-22 20:45:49 +08:00
Experiments.h initial 2024-06-22 20:45:49 +08:00
ExperimentsTest.cpp initial 2024-06-22 20:45:49 +08:00
IDnsTlsSocket.h initial 2024-06-22 20:45:49 +08:00
IDnsTlsSocketFactory.h initial 2024-06-22 20:45:49 +08:00
IDnsTlsSocketObserver.h initial 2024-06-22 20:45:49 +08:00
IPrivateDnsServer.h initial 2024-06-22 20:45:49 +08:00
LockedQueue.h initial 2024-06-22 20:45:49 +08:00
NOTICE initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
OperationLimiter.h initial 2024-06-22 20:45:49 +08:00
OperationLimiterTest.cpp initial 2024-06-22 20:45:49 +08:00
PREUPLOAD.cfg initial 2024-06-22 20:45:49 +08:00
PrivateDnsCommon.h initial 2024-06-22 20:45:49 +08:00
PrivateDnsConfiguration.cpp initial 2024-06-22 20:45:49 +08:00
PrivateDnsConfiguration.h initial 2024-06-22 20:45:49 +08:00
PrivateDnsConfigurationTest.cpp initial 2024-06-22 20:45:49 +08:00
PrivateDnsValidationObserver.h initial 2024-06-22 20:45:49 +08:00
README-DoT.md initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
ResolverController.cpp initial 2024-06-22 20:45:49 +08:00
ResolverController.h initial 2024-06-22 20:45:49 +08:00
ResolverEventReporter.cpp initial 2024-06-22 20:45:49 +08:00
ResolverEventReporter.h initial 2024-06-22 20:45:49 +08:00
ResolverStats.h initial 2024-06-22 20:45:49 +08:00
TEST_MAPPING initial 2024-06-22 20:45:49 +08:00
cbindgen.toml initial 2024-06-22 20:45:49 +08:00
doh.h initial 2024-06-22 20:45:49 +08:00
getaddrinfo.cpp initial 2024-06-22 20:45:49 +08:00
getaddrinfo.h initial 2024-06-22 20:45:49 +08:00
gethnamaddr.cpp initial 2024-06-22 20:45:49 +08:00
gethnamaddr.h initial 2024-06-22 20:45:49 +08:00
hostent.h initial 2024-06-22 20:45:49 +08:00
libnetd_resolv.map.txt initial 2024-06-22 20:45:49 +08:00
params.h initial 2024-06-22 20:45:49 +08:00
res_cache.cpp initial 2024-06-22 20:45:49 +08:00
res_comp.cpp initial 2024-06-22 20:45:49 +08:00
res_comp.h initial 2024-06-22 20:45:49 +08:00
res_debug.cpp initial 2024-06-22 20:45:49 +08:00
res_debug.h initial 2024-06-22 20:45:49 +08:00
res_mkquery.cpp initial 2024-06-22 20:45:49 +08:00
res_query.cpp initial 2024-06-22 20:45:49 +08:00
res_send.cpp initial 2024-06-22 20:45:49 +08:00
res_send.h initial 2024-06-22 20:45:49 +08:00
res_stats.cpp initial 2024-06-22 20:45:49 +08:00
resolv_cache.h initial 2024-06-22 20:45:49 +08:00
resolv_private.h initial 2024-06-22 20:45:49 +08:00
resolv_rust_test_config_template.xml initial 2024-06-22 20:45:49 +08:00
resolv_test_config_template.xml initial 2024-06-22 20:45:49 +08:00
rustfmt.toml initial 2024-06-22 20:45:49 +08:00
sethostent.cpp initial 2024-06-22 20:45:49 +08:00
stats.h initial 2024-06-22 20:45:49 +08:00
stats.proto initial 2024-06-22 20:45:49 +08:00
util.cpp initial 2024-06-22 20:45:49 +08:00
util.h initial 2024-06-22 20:45:49 +08:00

README.md

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.