You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
..
aidl_api/dnsresolver_aidl_interface
apex
binder/android/net
doh
include
tests
.clang-format
.editorconfig
Android.bp
Dns64Configuration.cpp
Dns64Configuration.h
DnsProxyListener.cpp
DnsProxyListener.h
DnsQueryLog.cpp
DnsQueryLog.h
DnsQueryLogTest.cpp
DnsResolver.cpp
DnsResolver.h
DnsResolverService.cpp
DnsResolverService.h
DnsStats.cpp
DnsStats.h
DnsStatsTest.cpp
DnsTlsDispatcher.cpp
DnsTlsDispatcher.h
DnsTlsQueryMap.cpp
DnsTlsQueryMap.h
DnsTlsServer.cpp
DnsTlsServer.h
DnsTlsSessionCache.cpp
DnsTlsSessionCache.h
DnsTlsSocket.cpp
DnsTlsSocket.h
DnsTlsSocketFactory.h
DnsTlsTransport.cpp
DnsTlsTransport.h
Experiments.cpp
Experiments.h
ExperimentsTest.cpp
IDnsTlsSocket.h
IDnsTlsSocketFactory.h
IDnsTlsSocketObserver.h
LockedQueue.h
NOTICE
OWNERS
OperationLimiter.h
OperationLimiterTest.cpp
PREUPLOAD.cfg
PrivateDnsCommon.h
PrivateDnsConfiguration.cpp
PrivateDnsConfiguration.h
PrivateDnsConfigurationTest.cpp
PrivateDnsValidationObserver.h
README-DoT.md
README.md
ResolverController.cpp
ResolverController.h
ResolverEventReporter.cpp
ResolverEventReporter.h
ResolverStats.h
TEST_MAPPING
cbindgen.toml
doh.h
getaddrinfo.cpp
getaddrinfo.h
gethnamaddr.cpp
gethnamaddr.h
hostent.h
libnetd_resolv.map.txt
params.h
res_cache.cpp
res_comp.cpp
res_comp.h
res_debug.cpp
res_debug.h
res_mkquery.cpp
res_query.cpp
res_send.cpp
res_send.h
res_stats.cpp
resolv_cache.h
resolv_private.h
resolv_test_config_template.xml
resolv_test_config_without_root_template.xml
rustfmt.toml
sethostent.cpp
stats.h
stats.proto
util.cpp
util.h

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.