Solved

Android Handheld & Resolving DNS Hostnames

Posted on 2013-05-20
3
319 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
  • 2
3 Comments
 
LVL 10

Expert Comment

by:ienaxxx
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Android SDK is used for creating an android software application. It includes document and tools which are necessary to develop applications with java. In fact Android SDK is harder than other software infrastructure, because there is a virtual deviā€¦
A short article about a problem I had getting the GPS LocationListener working.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now