Fixed
Status Update
Comments
ws...@gmail.com <ws...@gmail.com> #2
This is using emulator version 31.3.10
pa...@google.com <pa...@google.com>
ws...@gmail.com <ws...@gmail.com> #3
Probably very related to
Another quirk of emulator network backend to note, Pre-API 31, WiFi and radio networks share the same network backend but since API 31, they use separate network backend (both are using user-mode by default).
bo...@google.com <bo...@google.com>
wd...@google.com <wd...@google.com> #4
jo...@inspiretek.io <jo...@inspiretek.io> #6
Where can we get a version of the merged fix as well? or where can we monitor it? thanks!
wd...@google.com <wd...@google.com> #7
RE#6 Hi Joshua, we will release the fix in the next canary release (weekly schedule). I will also make sure the fix get merged into the next stable release but it might take no longer.
wd...@google.com <wd...@google.com> #8
RE#6 As I have confirmed, the fix is in 31.3.13 stable release.
Description
DESCRIBE THE ISSUE IN DETAIL: The emulator CLI's -dns-server option does not seem to work on API 31 or newer.
STEPS TO REPRODUCE:
dnsmasq -dq
emulator -avd emulator31 -dns-server 127.0.0.1
adb shell ping www.reddit.com
However, on API 30, these same steps will result in the dnsmasq showing the queries to reddit.com:
We need to override some DNS entries in order to test our app in environments that do not have external internet access, but it stopped working in API 31 or newer.