I have the exact behavior on Windows. Eveything else running on
Windows is resolving the local DNS names except the emulator. I just
code in the IP address of the desired server ( like 10.0.0.4 as
currently assigned by DHCP) for testing purposes with the emulator. I
do not have problems going to DNS outside the LAN though.

On Sep 23, 9:58 pm, JavaNut <i...@chiralsoftware.net> wrote:
> My emulator (1.5) can't do DNS resolution.  I'm running it on my Linux
> computer.  My Linux computer has no problems with name resolution and
> has everything it needs in /etc/resolv.conf.
>
> According to the manual, the emulator is supposed to use the resolvers
> in /etc/resolv.conf but it doesn't appear to be doing it.  It also
> says I can use a command line like this:
>
> emulator -avd my_android1.5 -dns-server 192.168.1.2
>
> to specify a DNS server, but that gives me:
>
> ### WARNING: could not add DNS server '192.168.1.2' to the network
> stack
> ### WARNING: will use system default DNS server
>
> which doesn't do me much good.
>
> This seems really bizarre.  I've seen other posts with people having
> DNS problems in Android but haven't seen any referring to that error.
> The emulator documentation clearly says, use that command line
> argument to specify a server, and that is clearly a valid IP address
> of a server.
>
> Any ideas?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to