Solved

Android Handheld & Resolving DNS Hostnames

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
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.
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…

691 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