Solved

Android Handheld & Resolving DNS Hostnames

Posted on 2013-05-20
3
322 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with AMIDuOS program 3 101
Xiaomi and MIUI 7 142
why Microsoft smartphones are not successful as Apple IOS and Anroid? 5 43
Enterprise WhatsApp 1 18
First off, some of you reading this are already thinking there is an error in the title. It really should be Kindle Fire versus OTHER Android tablets. That's because the Amazon Kindle Fire IS an Android tablet. Well, it is and it's not. It's running…
A short article about problems I had with the new location API and permissions in Marshmallow
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.

831 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