Don't query AAAA in case DUT has only link local address.
Some Wifi APs may send empty RA which cause device has link-local IPv6 address with default route. In that case, DNS resolver will send AAAA queries over IPv4, which is a waste of effort. This commit prevents the DNS resolver from sending AAAA queries when the device's IPv6 address is link-local. The mdns (aka .local) resolution is not limited to this. Bug: 203748535 Bug: 238583316 Test: build and test Change-Id: Id63b144a0fabc86caf529c83d4d0b21f9f1e4bf8
Loading
Please register or sign in to comment