+1
−0
+3
−1
+46
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The default behavior of UDP truncated DNS response is that the DNS resolver fallback on TCP on the same server. If the fallback retry is failed, do TCP retry on the rest of servers. However, OEM reported that the rest of servers may respond a valid answer on UDP connection, but support no TCP connection. Thus, an alternative truncated response handling mode is added for OEMs. With the alternative mode, the DNS resolver fallback retries on TCP on the same server. If the TCP retry is failed, do UDP retry on the next server, then TCP, and so on. Set mode by ResolverExperimentalOptionsParcel in ResolverParamsParcel. tcMode=0 or absent, run default behavior (TCP-only on each DNS server). tcMode=1, run alternative mode (UDP first on each DNS server). other values are invalid input, take no effect. Bug: 139646101 Change-Id: I724cc54bd9fad95954de84c281dd6f1d0b764caa