Home
last modified time | relevance | path

Searched refs:privateDnsStatus (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
DResolverController.cpp254 const auto privateDnsStatus = PrivateDnsConfiguration::getInstance().getStatus(netId); in getResolverInfo() local
255 for (const auto& [server, _] : privateDnsStatus.dotServersMap) { in getResolverInfo()
349 const auto privateDnsStatus = PrivateDnsConfiguration::getInstance().getStatus(netId); in dump() local
350 dw.println("Private DNS mode: %s", getPrivateDnsModeString(privateDnsStatus.mode)); in dump()
351 if (privateDnsStatus.dotServersMap.size() == 0) { in dump()
355 static_cast<uint32_t>(privateDnsStatus.dotServersMap.size())); in dump()
357 for (const auto& [server, validation] : privateDnsStatus.dotServersMap) { in dump()
Dres_send.cpp1310 PrivateDnsStatus privateDnsStatus = privateDnsConfiguration.getStatus(netId); in res_private_dns_send() local
1311 statp->event->set_private_dns_modes(convertEnumType(privateDnsStatus.mode)); in res_private_dns_send()
1314 switch (privateDnsStatus.mode) { in res_private_dns_send()
1321 if (privateDnsStatus.hasValidatedDohServers()) { in res_private_dns_send()
1325 return res_tls_send(privateDnsStatus.validatedServers(), statp, query, answer, rcode, in res_private_dns_send()
1326 privateDnsStatus.mode); in res_private_dns_send()
1330 if (privateDnsStatus.hasValidatedDohServers()) { in res_private_dns_send()
1334 if (privateDnsStatus.validatedServers().empty()) { in res_private_dns_send()
1354 privateDnsStatus = privateDnsConfiguration.getStatus(netId); in res_private_dns_send()
1356 if (privateDnsStatus.hasValidatedDohServers()) { in res_private_dns_send()
[all …]
DDnsProxyListener.cpp114 const auto privateDnsStatus = PrivateDnsConfiguration::getInstance().getStatus(dns_netid); in queryingViaTls() local
115 switch (privateDnsStatus.mode) { in queryingViaTls()
117 return !privateDnsStatus.validatedServers().empty(); in queryingViaTls()