• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

Android Handheld & Resolving DNS Hostnames

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
RTM2007
Asked:
RTM2007
  • 2
1 Solution
 
ienaxxxCommented:
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
 
RTM2007Author Commented:
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
 
ienaxxxCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now