3

i try to connect (HttpClient) to an internal server in my app via wi-fi. But every time i got an UnknownHostException if I use the domain name of the server (http://domainname/..). If i use the Ip instead, it works well. This happens not only on the emulator but also on a real device (htc desire).

Did anyone got the same problem? Solutions i found in web only refer the problem to emulator. http://www.mail-archive.com/android-developers@googlegroups.com/msg16951.html

Thanks for your support

Martin Christmann
  • 2,488
  • 2
  • 21
  • 17
  • Update: It is possible to connect to the internal server with the full qualified server name such as http://servername.dnsSuffix .. I guess android doesn't get the dns suffix search list and only try to connect with http://servername. – Martin Christmann Sep 27 '10 at 12:23

1 Answers1

2

It seems that Android does not implement the DHCP option "DNS search list". See bug #8030.

bortzmeyer
  • 34,164
  • 12
  • 67
  • 91