I'm currently trying a bit to get the Android emulator to use its own DNS server, which runs on localhost (127.0.0.1).
At the moment, I tried various approaches, trying to convince the emulator to use my DNS server, so far without success. In the end, it always comes down to the following error message:
#
#
localhost, however, resolves correctly when shipped to nslookup:
$ nslookup localhost
Server: dnszrh01.xxx
Address: 10.xxx.xxx.xxx
Non-authoritative answer:
Name: localhost.xxx
Address: 127.0.0.1
Using an IP address instead of a host name also helps a little, it just changes the error message:
#
#
The additional command line that I use to start the emulator reads:
-http-proxy http:
This happens with the Android emulator version 5.0 (build_id ECLAIR-24846) running on Windows.
Any hint on how to get this job is greatly appreciated!