Solved

Android Handheld & Resolving DNS Hostnames

Posted on 2013-05-20
3
324 Views
Last Modified: 2013-06-24
I've seen this issue on two separate Android handhelds (one phone, one tablet) where even with a proper LAN DHCP lease it cannot resolve internal computer hostnames on the device.

Has anyone else seen this and/or know how to fix or add statics host entries to Androids?
0
Comment
Question by:RTM2007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

by:ienaxxx
ID: 39180968
It's because hostname resolution in the form: <hostname> is NETBIOS based.
Android  isn't going to support it and so you can try <hostname>.<yourDNSdomain>
This will work because you force the name to be searched against DNS servers.
0
 
LVL 2

Author Comment

by:RTM2007
ID: 39181026
Is there a way to set it statically and/or with DNS? There are auto generated e-mails that basically have internal hostnames to webservers that we would like to resolve automatically.
0
 
LVL 10

Accepted Solution

by:
ienaxxx earned 500 total points
ID: 39181094
Good starting-points:
http://forum.xda-developers.com/showthread.php?t=1107482
http://code.google.com/p/android/issues/detail?id=8030

if you are able to modify the resolv.conf file (I think you need to be root), you can add a
search mydomain.local
line and this should do the tricks.

Otherwise you should always use FQDN.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question