Status Update
Comments
mi...@gmail.com <mi...@gmail.com> #2
I can confirm this happens for me as well.
m2...@gmail.com <m2...@gmail.com> #3
This actually happens on Maemo as well. I simply added this line to the /etc/hosts
192.168.0.1 joynet
I don't know if you can do that on Android w/o "rooting" (or something else). It's not
really a good solution either since it should resolve automatically...
192.168.0.1 joynet
I don't know if you can do that on Android w/o "rooting" (or something else). It's not
really a good solution either since it should resolve automatically...
go...@gmail.com <go...@gmail.com> #4
Yep, you'd need to "root" the device to gain access to /etc/hosts, and that would
void warranty and possibly give other problems too when you are out of support from
the manufacturer.
And with further testing it seems like it is not really restricted to domains,
Android seems to regard any single-name hostname to not being a valid hostname. I
guess this is related to the fact that Android devices do not seem to set themselves
a name either (you can see on DHCP daemon that the phone has no associated hostname).
So this seems to be a wider problem regarding local hostnames.
void warranty and possibly give other problems too when you are out of support from
the manufacturer.
And with further testing it seems like it is not really restricted to domains,
Android seems to regard any single-name hostname to not being a valid hostname. I
guess this is related to the fact that Android devices do not seem to set themselves
a name either (you can see on DHCP daemon that the phone has no associated hostname).
So this seems to be a wider problem regarding local hostnames.
ny...@gmail.com <ny...@gmail.com> #5
If this is fixed, make sure that if a VPN connection provides a domain name via DHCP,
do NOT overwrite the WiFi's domain name, just append it to the search path.
do NOT overwrite the WiFi's domain name, just append it to the search path.
ny...@gmail.com <ny...@gmail.com> #6
At least add domain name search path properly via DHCP attribute 119 or at LEAST attribute 15.
ro...@gmail.com <ro...@gmail.com> #7
I would like to see this fixed as well. My android based phone is nearly useless on our intranet because of their organic nature the FQDN isn't often used (if ever) so me adding the domain to the server is always a pain.
Please implement DHCP Domain Search on Android!!
Please implement DHCP Domain Search on Android!!
pu...@gmail.com <pu...@gmail.com> #8
Similar problems in my company network. Please help..
so...@gmail.com <so...@gmail.com> #9
I even have an internal dns defined for my wifi connection for my .local domain. Using internal ips work just not the fqdn. Seems strange as I have proper dns servers defined.
wj...@gmail.com <wj...@gmail.com> #10
DHCP attribute 119 and attribute 15 are important on a corporate network, as not everything uses FQDN.
sa...@gmail.com <sa...@gmail.com> #11
Please fix.
ma...@gmail.com <ma...@gmail.com> #12
Yes, I run a .local domain, with proper dns servers running. Android devices will not resolve any .local address.
ol...@gmail.com <ol...@gmail.com> #13
Same problem. Very annoying in a professional setting.
My device is a french Milestone, android version 2.1 update 1
The problem is accessing a local one-label web page which should be resolved with appended subdomain (DNS search suffix)
tcpdump on the DNS : #
[root@mydnsserver htdocs]# tcpdump port 53 and host 192.168.0.123 -vv
#
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
#
10:08:33.537987 IP (tos 0x0, ttl 64, id 44233, offset 0, flags [DF], proto: UDP (17), length: 52) a123.mylan.mydomain.tld.11524 > mydnsserver.domain: [udp sum ok] 10982+ A? mywebserver.M-P^GM-^X. (24)
#
10:08:33.538971 IP (tos 0x0, ttl 64, id 41714, offset 0, flags [none], proto: UDP (17), length: 127) mydnsserver.domain > a123.mylan.mydomain.tld.11524: 10982 NXDomain q: A? rd.M-P^GM-^X. 0/1/0 ns: . SOA[|domain]
Note the "M-P^GM-^X." where there should be the DNS suffix mylan.mydomain.tld.
Of course I can't access my web intranet on its adresshttp://mywebserver
Please Google do something ! iPhones don't have this kind of problem !
My device is a french Milestone, android version 2.1 update 1
The problem is accessing a local one-label web page which should be resolved with appended subdomain (DNS search suffix)
tcpdump on the DNS : #
[root@mydnsserver htdocs]# tcpdump port 53 and host 192.168.0.123 -vv
#
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
#
10:08:33.537987 IP (tos 0x0, ttl 64, id 44233, offset 0, flags [DF], proto: UDP (17), length: 52) a123.mylan.mydomain.tld.11524 > mydnsserver.domain: [udp sum ok] 10982+ A? mywebserver.M-P^GM-^X. (24)
#
10:08:33.538971 IP (tos 0x0, ttl 64, id 41714, offset 0, flags [none], proto: UDP (17), length: 127) mydnsserver.domain > a123.mylan.mydomain.tld.11524: 10982 NXDomain q: A? rd.M-P^GM-^X. 0/1/0 ns: . SOA[|domain]
Note the "M-P^GM-^X." where there should be the DNS suffix mylan.mydomain.tld.
Of course I can't access my web intranet on its adress
Please Google do something ! iPhones don't have this kind of problem !
ca...@gmail.com <ca...@gmail.com> #14
I'm having the same problem. On IOS I access my DHCP media server as audiobox.local. Android insists on a numeric IP address. What a pain.
ja...@gmail.com <ja...@gmail.com> #15
It looks like android actually needs a FQDN
my machine name is jsharp01...ping jsharp01 yeilds nothing
pinging jsharp01.us.$$$$$$$$$.com yeilds results. This happens with anything inside of DNS...if i try and ping a short name it fails, but if i ping a long FQDN it resolves just fine
Any idea's other than rooting
my machine name is jsharp01...ping jsharp01 yeilds nothing
pinging jsharp01.us.$$$$$$$$$.com yeilds results. This happens with anything inside of DNS...if i try and ping a short name it fails, but if i ping a long FQDN it resolves just fine
Any idea's other than rooting
ny...@gmail.com <ny...@gmail.com> #16
Again, see DHCP attribute 119 or and attribute 15
so...@gmail.com <so...@gmail.com> #17
"Again, see DHCP attribute 119 or and attribute 15"
This option is defined on the DHCP server. .local domains do not resolve.
This option is defined on the DHCP server. .local domains do not resolve.
ny...@gmail.com <ny...@gmail.com> #18
Yes, I mean, the bug is that android IGNORES 119 and 15 IMO
so...@gmail.com <so...@gmail.com> #19
FYI, this appears resolved in 2.2. My epic finally received an update and this was fixed for me.
so...@gmail.com <so...@gmail.com> #20
FYI, this appears resolved in 2.2. My epic finally received an update and this was fixed for me.
ny...@gmail.com <ny...@gmail.com> #21
As far as i know, both 2.2 and 2.3 still ignore DHCP attributes 119 and 15
my /etc/resolv.conf still only has nameservers, no search path. What did you do to tell your phone what domain it was in?
my /etc/resolv.conf still only has nameservers, no search path. What did you do to tell your phone what domain it was in?
ra...@gmail.com <ra...@gmail.com> #22
[Comment deleted]
su...@gmail.com <su...@gmail.com> #23
This Bug still occurs. I have the issue both on a Motorola Xoom and HTC Thunderbolt. I cannot get the DNS Search Suffix populated via DHCP. I have to browse internal Web Sites via FQDN only.
ku...@gmail.com <ku...@gmail.com> #24
Confirmed here as well (froyo). Added scope option 119 (15 was already set) and still no change. Very disappointing. Looks like the "other camp" just introduced this problem recently too:
http://discussions.apple.com/thread.jspa?messageID=13335754
su...@gmail.com <su...@gmail.com> #25
Confirmed here also. We got a intranet and can't resolve any ip address in our network.
sn...@gmail.com <sn...@gmail.com> #26
Please fix this...
Running the Motorola XOOM at work, and trying to show that its a 1+ above an 1Pad(flash support) but because of this.. its not looking so good :(
PLEEEEEEEEEASE FIX!
Running the Motorola XOOM at work, and trying to show that its a 1+ above an 1Pad(flash support) but because of this.. its not looking so good :(
PLEEEEEEEEEASE FIX!
je...@gmail.com <je...@gmail.com> #27
I can also confirm this. Please fix.
ny...@gmail.com <ny...@gmail.com> #28
Added to cyanogenmod bug tracker
http://code.google.com/p/cyanogenmod/issues/detail?id=3779
Obviously google won't fix this. Hopefully the CM guys will.
Obviously google won't fix this. Hopefully the CM guys will.
ku...@gmail.com <ku...@gmail.com> #29
Good idea! I sure hope the google folks tackle this though. We're going to be investigating tablets for corporate apps. Being mostly intranet, android based devices may be disqualified immediately.
mc...@cogeco.ca <mc...@cogeco.ca> #30
In the same boat as everyone else. Can't browse internal intranet site using the short hostname. Have to use FQDN (which is not a solution...just a workaround). Trying to show senior management the pros for going Android Tablet vs iPad2 and this has just put a HUGE stop on the efforts since they cannot easily connect to our Intranet.
I unfortunately will have to report back to them that the iPad2 wins...
I unfortunately will have to report back to them that the iPad2 wins...
gs...@gmail.com <gs...@gmail.com> #31
We're having the same problem here. This is ridiculous because the problem has been present for well over a year. Rooted devices have a solution, iPhones/iPads just work. While I think it's fair to say that most of us love Android, problems like this need to be addressed quickly.
si...@gmail.com <si...@gmail.com> #32
Whats the solution for rooted phones?
st...@gmail.com <st...@gmail.com> #33
same issue on honeycomb 3.1 - Acer Iconia - any workarounds other than fqdn?
cd...@gmail.com <cd...@gmail.com> #34
This happens on my Nexus One running Gingerbread and my Motorola Xoom running Honeycomb 3.1. FQDN is the only way to resolve internal DNS.
jc...@gmail.com <jc...@gmail.com> #35
Android is based on Linux, Linux resolves DNS Suffix to local host names just fine, what is the big hold up to get Android doing this? Seems like Android is aimed at consumer market, enterprise is not well represented when these (predominately enterprise) issues persist across versions. Just another nail in the coffin holding us to iPhone/iPad and preventing real enterprise deployment of Android.
of...@gmail.com <of...@gmail.com> #36
just got Desire z with android 2.3, can't believe this is not working.
Just look at the following case (example):
You have an email account on server "buzz".
This server is accessed via wireless corporate network and resolves to private lan by adding corporate.intra domain, the same when accessed via VPN.
When using other external connection, I would like to addcorporate.com (because this resolves to public fw ip address) to access the same account.
Well, I think this is quite a common setup and can't believe it's impossible on Gingerbread! Or maybe there is some other net topology is unknown to me to solve the same kind of problem.
Just look at the following case (example):
You have an email account on server "buzz".
This server is accessed via wireless corporate network and resolves to private lan by adding corporate.intra domain, the same when accessed via VPN.
When using other external connection, I would like to add
Well, I think this is quite a common setup and can't believe it's impossible on Gingerbread! Or maybe there is some other net topology is unknown to me to solve the same kind of problem.
ku...@gmail.com <ku...@gmail.com> #37
I would say modifying /etc/resolv.conf would work.
Of course, # vi /etc/resolv.conf is a pain through the virtual
keyboard... so pushing the file through adb might be _much_ easier. :)
Of course, # vi /etc/resolv.conf is a pain through the virtual
keyboard... so pushing the file through adb might be _much_ easier. :)
br...@gmail.com <br...@gmail.com> #38
And requires a rooted device.
And requires editing files on a phone/tablet with _vi_!
Give vi editing instructions to your executive staff and see how far you get with it.
And requires editing files on a phone/tablet with _vi_!
Give vi editing instructions to your executive staff and see how far you get with it.
ny...@gmail.com <ny...@gmail.com> #39
And.. its permanent, whether or not you are connected to that particular local internal network or not.
The whole point of DHCP is to allow dynamic configuration.
The whole point of DHCP is to allow dynamic configuration.
ku...@gmail.com <ku...@gmail.com> #40
Absolutely agree - it is not an enterprise solution, but a workaround.
ar...@gmail.com <ar...@gmail.com> #41
Google should fix this.
on my project, users cannot login to the local server through their galaxy tab 7.
my nexus s 2.3.4 can not do it too
on my project, users cannot login to the local server through their galaxy tab 7.
my nexus s 2.3.4 can not do it too
je...@gmail.com <je...@gmail.com> #42
Without support for DHCP tags such as WINS or dns suffixes, the andriod platform is useless in a corporate environment. For example, we use a transparent proxy to authenticate web browser traffic. The android cannot resolve a short hostname, because it doesn't except the dhcp dns suffix being handed out to it. It won't accept WINS either. Having to root the phone and modify the host file isn't a corporate solution.
I suggest at least looking at the issue or responding to the user posts. I'm running an LG revolution 2.2.2, and an acer android tablet. Both have the same issues related to dns suffixes not appending properly.
I suggest at least looking at the issue or responding to the user posts. I'm running an LG revolution 2.2.2, and an acer android tablet. Both have the same issues related to dns suffixes not appending properly.
me...@gmail.com <me...@gmail.com> #43
I'm suffering from the same problem here. Please fix this.
ol...@gmail.com <ol...@gmail.com> #44
I'm afraid they won't. Seems like it's not a bug, but a feature. At
least it seems to be done on purpose.
least it seems to be done on purpose.
mi...@gmail.com <mi...@gmail.com> #45
For those of you who need a workaround till this is fixed and are running bind, add "check-names master warn;" to the "options {};" section of your named.conf and restart named. This will cause named to allow the use of a "-" in the host name.
here is a lookup from my DNS server with this implemented:
# nslookup 10.0.1.194
Server: 127.0.0.1
Address: 127.0.0.1#53
194.1.0.10.in-addr.arpa name = android_d4b2fobfuscation.stjohn.home.
; The only change was the hex for privacy.
here is a lookup from my DNS server with this implemented:
# nslookup 10.0.1.194
Server: 127.0.0.1
Address: 127.0.0.1#53
194.1.0.10.in-addr.arpa name = android_d4b2fobfuscation.stjohn.home.
; The only change was the hex for privacy.
ku...@gmail.com <ku...@gmail.com> #46
@mirhun...
I think you've either posted to the wrong thread or misunderstood the above.
@olivier...
I was wondering if this might be intentional, but I don't see what purpose this would have in improving device security. That would be the only possible thing that would warrant this "feature."
Can't understand why there's been no response from Google to this point. How do we escalate this?
I think you've either posted to the wrong thread or misunderstood the above.
@olivier...
I was wondering if this might be intentional, but I don't see what purpose this would have in improving device security. That would be the only possible thing that would warrant this "feature."
Can't understand why there's been no response from Google to this point. How do we escalate this?
jt...@gmail.com <jt...@gmail.com> #47
It is really frustrating. I'm being tempted into rooting my device to edit the hosts file, but I don't wanna get into risks. Without any feedback from Google, I'm loosing hope on having it fixed anytime soon...
sj...@googlemail.com <sj...@googlemail.com> #48
I cant believe Google aren't doing anything about this.
OK it might not be a big issue in the consumer space for Joe Public who doesn't have a private network, but it's a show stopper in the corporate arena.
I couldn't recommend adopting android phones or tablets within an organization purely on this one issue.
OK it might not be a big issue in the consumer space for Joe Public who doesn't have a private network, but it's a show stopper in the corporate arena.
I couldn't recommend adopting android phones or tablets within an organization purely on this one issue.
to...@gmail.com <to...@gmail.com> #49
I really wanted to use an Android based solution, but will not be able to due to the DNS issues.
ha...@gmail.com <ha...@gmail.com> #50
It seems like the /etc/dhcpdc.conf file is to blame here. It seems to be called android.conf in the source repo.
https://github.com/android/platform_external_dhcpcd/commits/master/android.conf
The configuration parameters domain_name(15) and domain_search(119) are missing from the option line. Seems to me dhcpcd supports those options but the android config file for dhcpcd ommits them.
The configuration parameters domain_name(15) and domain_search(119) are missing from the option line. Seems to me dhcpcd supports those options but the android config file for dhcpcd ommits them.
ry...@mortier.ca <ry...@mortier.ca> #51
[Comment deleted]
jt...@gmail.com <jt...@gmail.com> #52
Does anybody know if there is any workaround on this? (without having to root the device). Is there any way to configure the device or browser to always interpret or modify a given address to its FQDN form? I use Sharepoint, and I can use the FQDN address with no problem, but as soon as the server redirect me, the browser stop finding the server.
Any third party application perhaps?
Any third party application perhaps?
ry...@mortier.ca <ry...@mortier.ca> #53
[Comment deleted]
pe...@sedlacek.biz <pe...@sedlacek.biz> #54
I can't believe Google is ignoring this very simple issue...
I found out that simply adding the local domain name to system property net.dns.search solves the issue:
setprop net.dns.search "domain.local"
I changed dhcpcd.conf to request the domain_name and domain_search options and tried creating a dhcpc hook that would do that automatically but for some reason the property would not be added. Testing showed that the option domain_name was correctly obtained (${new_domain_name}) but the property would simply not be added. Any suggestions?
I found out that simply adding the local domain name to system property net.dns.search solves the issue:
setprop net.dns.search "domain.local"
I changed dhcpcd.conf to request the domain_name and domain_search options and tried creating a dhcpc hook that would do that automatically but for some reason the property would not be added. Testing showed that the option domain_name was correctly obtained (${new_domain_name}) but the property would simply not be added. Any suggestions?
ny...@gmail.com <ny...@gmail.com> #55
Have you dug around in the AOSP tree? setprop shouldn't fail... perhaps your hook is wrong?
pe...@sedlacek.biz <pe...@sedlacek.biz> #56
On the current build of ICS / CM9 for my Galaxy Note, the problem is actually in permissions. dhcpcd is running as user dhcp which isn't allowed to change properties.
I'm trying to use su -s "setprop..." but I'm seeing errors in the log like this:
W/su ( 5098): request rejected (1014->0 setprop net.dns.search domain.local)
The Superuser app doesn't bring up the box to confirm root access... Not sure how to go about this.
I'm trying to use su -s "setprop..." but I'm seeing errors in the log like this:
W/su ( 5098): request rejected (1014->0 setprop net.dns.search domain.local)
The Superuser app doesn't bring up the box to confirm root access... Not sure how to go about this.
[Deleted User] <[Deleted User]> #57
Come'on guys!! This is like more than a year old Bug!! And not just a bug, but a Major Bug!
My colleague has a BB and they don't have this problem!!
Please Google make this work. If not... a lot of company's will never gonna use a Android device.
My colleague has a BB and they don't have this problem!!
Please Google make this work. If not... a lot of company's will never gonna use a Android device.
ma...@gmail.com <ma...@gmail.com> #58
My company is deploying a guest wireless network now using an https:// redirect to an internal guest logon page. Android devices can't bring up the https:// web page due to this issue with Android devices not accepting DHCP option 119. DHCP option 119 specifies the connection-specific DNS domain suffix to be used by the DHCP client. The lack of a DNS suffix prevents the client from resolving the https certificate name and renders the https guest logon page useless. This issue means our guest network will not be able to support android devices. Please resolve this issue!!!
ol...@gmail.com <ol...@gmail.com> #59
jt...@gmail.com <jt...@gmail.com> #60
I can't believe this is still an open issue. Makes me think that either me or the company I work for is not configuring well its network resources, or there are few people out there that need the ability to connect to servers inside an intranet.
I can connect by using the FQDN or IP address, but the servers redirect me to other pages within the sites and the connection gets lost.
I have decided to root my device. Sorry if this post is more emotional than technical, but I'm really dissapointed with the level of attention that this bug is taking from Google and the lack of workarounds to resolve it.
I can connect by using the FQDN or IP address, but the servers redirect me to other pages within the sites and the connection gets lost.
I have decided to root my device. Sorry if this post is more emotional than technical, but I'm really dissapointed with the level of attention that this bug is taking from Google and the lack of workarounds to resolve it.
lu...@gmail.com <lu...@gmail.com> #61
[Comment deleted]
lu...@gmail.com <lu...@gmail.com> #62
A (poor) work around I have found is to connect to your corporate network over VPN where the settings INCLUDE a search domain
e.g. following these steps:http://www.techrepublic.com/blog/smartphones/connect-to-a-pptp-vpn-from-your-android-phone/2145
frustrating but it works, plus user is prompted for VPN password every time they connect (unless they download a market vpn app). Clearly this isn't a work around which will help in every situation.
[edit: forgot about search domain]
e.g. following these steps:
frustrating but it works, plus user is prompted for VPN password every time they connect (unless they download a market vpn app). Clearly this isn't a work around which will help in every situation.
[edit: forgot about search domain]
ro...@gmail.com <ro...@gmail.com> #63
Like many others not even a FQDN will bring up my local pages I have to use the IP address, everything fails.
I would be happy if the FQDN would work as that is what I use anyway so I can connect to my resource internally or externally, that is somewhat the point of being mobile.
I would be happy if the FQDN would work as that is what I use anyway so I can connect to my resource internally or externally, that is somewhat the point of being mobile.
pe...@sedlacek.biz <pe...@sedlacek.biz> #64
@robway, if you cannot use FQDN then your DNS servers are broken.
Simply put, if you can use FQDN on your computer in the same network, you can use them on Android. I've never had any problem with FQDN.
Simply put, if you can use FQDN on your computer in the same network, you can use them on Android. I've never had any problem with FQDN.
ro...@gmail.com <ro...@gmail.com> #65
@p..., following this thread it doesn't really sound like my DNS is broken as all other devices will resolve, everything except android devices, so it sounds like the 'bug' others are referring to. I made sure i have attributes 119 and 15 included in my DNS.
Thanks
Thanks
ny...@gmail.com <ny...@gmail.com> #66
Robway, if FDQN does not work your problem has nothing to do with this bug.
ny...@gmail.com <ny...@gmail.com> #67
Olivier:
Bull. You either trust your DNS server, or you don't. Both of those articles are naive.
If you don't trust the DCHP server to hand out a search path, why do you trust it to hand you the IP to a DNS server, which could also be compromised?
And if you don't trust the DNS or DHCP server, why do you trust your default gateway, which could also hijack DNS requests?
More importantly, claiming that everybody should exclusively use FDQNs is ridiculous. I use search paths all the time from the CLI ("ssh hostname". "scp hostname", "rsync hostname", fns/autofs hostname key namespace, etc. etc. etc.) Why not the browser too?
Bottom line, there is absolutely NO excuse for google to not support 15 and/or 119. If you are concerned about security, open a new bug making it adjustable per Wifi connection. But remember, you're going to want to override DNS server as well... which still doesn't solve the problem of a rogue default gateway.
Bull. You either trust your DNS server, or you don't. Both of those articles are naive.
If you don't trust the DCHP server to hand out a search path, why do you trust it to hand you the IP to a DNS server, which could also be compromised?
And if you don't trust the DNS or DHCP server, why do you trust your default gateway, which could also hijack DNS requests?
More importantly, claiming that everybody should exclusively use FDQNs is ridiculous. I use search paths all the time from the CLI ("ssh hostname". "scp hostname", "rsync hostname", fns/autofs hostname key namespace, etc. etc. etc.) Why not the browser too?
Bottom line, there is absolutely NO excuse for google to not support 15 and/or 119. If you are concerned about security, open a new bug making it adjustable per Wifi connection. But remember, you're going to want to override DNS server as well... which still doesn't solve the problem of a rogue default gateway.
nu...@gmail.com <nu...@gmail.com> #68
[Comment deleted]
pa...@gmail.com <pa...@gmail.com> #69
4.0.3 still has the problem. This means our company will NOT use android tablets on our wireless network …
You can not expect everyone to use FQDN or ip addresses everywhere!
Google, get this fixed!
You can not expect everyone to use FQDN or ip addresses everywhere!
Google, get this fixed!
he...@gmail.com <he...@gmail.com> #70
Most certainly still an issue and one that will prevent our 19,000 employees from using any Android device on our intranet!
ku...@gmail.com <ku...@gmail.com> #71
I'm starting to think we're barking up the wrong tree... maybe if we took the issue to someone who has a stake in selling enterprise devices? (ASUS, Samsung, etc)
ku...@gmail.com <ku...@gmail.com> #72
I know I've brought this up before, that rooted users can modify their hosts. Well, now there's an app for that:
https://play.google.com/store/apps/details?id=com.treb.hosts&hl=en
Yes, I know... not an Enterprise solution...
Yes, I know... not an Enterprise solution...
ew...@gmail.com <ew...@gmail.com> #73
This is a very frustrating issue that has been known for 2 years and is still not fixed. How hard could it be to recognize options 15 from DHCP? iOS does not seem to have this issue... Please fix.
ma...@beck.im <ma...@beck.im> #74
Same issue here, with Android 4.0.4, its really annoying.
mv...@gmail.com <mv...@gmail.com> #75
"Robway, if FDQN does not work your problem has nothing to do with this bug."
Unfortunately not true at all. Corporate servers, like SharePoint, commonly redirect immediately to their hostname, even when you are connecting with FQDN (which is resolved properly). So it doesn't work and it is caused by this bug.
Unfortunately not true at all. Corporate servers, like SharePoint, commonly redirect immediately to their hostname, even when you are connecting with FQDN (which is resolved properly). So it doesn't work and it is caused by this bug.
br...@gmail.com <br...@gmail.com> #76
@mvasko: that sounds like a broken server. I would think a redirect to a different server should always be an FQDN. A server cannot assume anything about the client's resolver being able to figure out which domain it's redirecting an unqualified name to.
mv...@gmail.com <mv...@gmail.com> #77
@brianjmnu
IMO
- server can assume it can be resolved - all clients are in domain network and expected to resolve unqualified names in that domain
- it is more future proof. Domains need sometimes to be renamed or migrated... and less things will be broken if you don't use FQDNs in links etc. Users often simply copy URLs and use them somewhere for instance.
In any case, why to go head against the wall, Android will hardly cause corporate infrastructure to be reconfigured, it simply won't be used.
IMO
- server can assume it can be resolved - all clients are in domain network and expected to resolve unqualified names in that domain
- it is more future proof. Domains need sometimes to be renamed or migrated... and less things will be broken if you don't use FQDNs in links etc. Users often simply copy URLs and use them somewhere for instance.
In any case, why to go head against the wall, Android will hardly cause corporate infrastructure to be reconfigured, it simply won't be used.
sa...@gmail.com <sa...@gmail.com> #78
FQDN for internal servers doesn't work for me either. Works only by IP directly.
Seems strange as on all other IOS/Windows OS, it just works.
I'm also quite surprised that as a platform that is suppose to target more technical crowd, there is no simple way to even look at the advanced DNS/Gateway settings which IOS/Windows all have.
Seems strange as on all other IOS/Windows OS, it just works.
I'm also quite surprised that as a platform that is suppose to target more technical crowd, there is no simple way to even look at the advanced DNS/Gateway settings which IOS/Windows all have.
si...@gmail.com <si...@gmail.com> #79
Basic IP stack stuff (supporting DHCP option supplied domain suffix) and still not fixed? Come on guys, this is a basic requirement.
ry...@mortier.ca <ry...@mortier.ca> #80
[Comment deleted]
rg...@google.com <rg...@google.com> #81
I can confirm it's still broken in 4.1.
A google internal feature request has been entered (6799630) and we'll try to get to this when we can.
A google internal feature request has been entered (6799630) and we'll try to get to this when we can.
ch...@gmail.com <ch...@gmail.com> #82
We also are facing this issue trying to test mobile websites in our development environments.
rg...@gmail.com <rg...@gmail.com> #83
I can also confirm this is an issue on my corporate network. I need to use FQDN to access any internal sites.
do...@gmail.com <do...@gmail.com> #84
also confirm for Android 4.1 (Jelly Bean) on Nexus 7. I can't believe this is still lingering after 2 years.
SIte development specific for the new Nexus 7 is at a stand-still because we can test across all iOS devices but not Android.
Ridiculous. Please address this.
SIte development specific for the new Nexus 7 is at a stand-still because we can test across all iOS devices but not Android.
Ridiculous. Please address this.
lu...@gmail.com <lu...@gmail.com> #85
[Comment deleted]
lu...@gmail.com <lu...@gmail.com> #86
Nexus 7 has this issue. My tablet will be sold soon entirely because of this.
rg...@google.com <rg...@google.com> #87
Sorry guys. We're not idle but there are alot of issues to work on. The code is opensourced, so if you want to try to fix this or know of an existing fix give a reference to the fix here and I can expedite its adoption. No way the fix will be released in weeks either way - we don't get to do ad-hoc release cycles.
sa...@gmail.com <sa...@gmail.com> #88
to fix you'll need to do 2 things:
1) determine the WINS server. It should be obtainable during the DHCP exchange.
2) integrating nmblookup behavior to resolve netbios to IP.
http://www.samba.org/samba/docs/man/manpages-3/nmblookup.1.html
1) determine the WINS server. It should be obtainable during the DHCP exchange.
2) integrating nmblookup behavior to resolve netbios to IP.
ny...@gmail.com <ny...@gmail.com> #89
A proper DNS system does not require a wins server, let alone netbios resolution! That is hardly a fix. It isn't even a reasonable workaround.
ch...@gmail.com <ch...@gmail.com> #90
I do not argue on the definition of a proper "Dns" system. The bug/issue here is that android does not resolve wins names, Which creates a problem in corporate environments where wins is used. The steps proposed makes it resolve wins names.
This does not even have to be in the main dns module, but used as a fallback when main dns resolution fails. I fail to see how adding on domain suffix is a better solution as the main issue is wins resolution.
This does not even have to be in the main dns module, but used as a fallback when main dns resolution fails. I fail to see how adding on domain suffix is a better solution as the main issue is wins resolution.
ja...@gmail.com <ja...@gmail.com> #91
No, the bug here has nothing to do with WINS. The names we want to look up really are DNS names. NetBIOS names, as used by WINS, are separate beasts and much more restrictive. For instance, the name this-is-not-a-valid-netbios-name is not a valid NetBIOS name; however, it is perfectly valid for DNS.
We just want the basic and pretty ancient ability to automatically use the DNS domain suffixes as commonly distributed by DHCP servers when DNS fails to find an exact hostname of interest. To you, this may appear to be the same thing as performing a NetBIOS lookup via a WINS server, but it is not.
We just want the basic and pretty ancient ability to automatically use the DNS domain suffixes as commonly distributed by DHCP servers when DNS fails to find an exact hostname of interest. To you, this may appear to be the same thing as performing a NetBIOS lookup via a WINS server, but it is not.
le...@gmail.com <le...@gmail.com> #92
I agree with the person above me: This bug is NOT about WINS at all. It is about Android respecting the DNS domain name search suffix list as given by the DHCP server on a network.
If you need WINS support/resolution, please open a separate issue and don't pollute this one.
If you need WINS support/resolution, please open a separate issue and don't pollute this one.
ha...@gmail.com <ha...@gmail.com> #93
Actual it has more to do with URI handling. If you put name.suffix in the address bar, bare, the browser will treat it as a search term instead of a browser request if "suffix" is not on the default list.
If you prepend http:// it works.
I have not found a way to add ".suffix" to the list.
If you prepend http:// it works.
I have not found a way to add ".suffix" to the list.
ry...@mortier.ca <ry...@mortier.ca> #94
[Comment deleted]
pe...@sedlacek.biz <pe...@sedlacek.biz> #95
> It's not uri handling, it's not wins and it's not netbios. It's dhcp and dns.
I agree. The main issue here (in this bug report) is that Android ignores DNS search suffix provided by DHCP.
However, URI handling by browsers does enter into it as happyp... mentions. unfortunately (for us more technical users) the same behaviour can be observed in desktop browsers too (at least desktop Chrome and IE 9).
I agree. The main issue here (in this bug report) is that Android ignores DNS search suffix provided by DHCP.
However, URI handling by browsers does enter into it as happyp... mentions. unfortunately (for us more technical users) the same behaviour can be observed in desktop browsers too (at least desktop Chrome and IE 9).
pe...@sedlacek.biz <pe...@sedlacek.biz> #96
Hello again,
Could any of you more knowledgeable Android fans assist me with developing a fix for this issue - be it at least for rooted phones? I've been looking into this issue for quite some time and this is what I've found:
1) The DNS search suffix is stored in the system property "net.dns.search". When it's set DNS resolution of simple hostnames WORKS:
shell@android:/ # ping errorek
ping: unknown host errorek
2|shell@android:/ # setprop net.dns.search "fatsoft.co.uk "
shell@android:/ # ping errorek
PINGerrorek.fatsoft.co.uk (10.10.10.10) 56(84) bytes of data.
64 bytes fromerrorek.fatsoft.co.uk (10.10.10.10): icmp_seq=1 ttl=64 time=88 ms
2) Android uses dhcpcd to obtain IP configuration from DHCP. The configuration is in /system/etc/dhcpcd. The folder /system/etc/dhcpcd/dhcpcd-hooks contains hooks that are executed on DHCP events - for example, file /system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf sets properties "dhcp.<interface>.dnsX" to the DNS servers obtained from DHCP and exported by dhcpcd as environment variable $new_domain_name_servers
3) DHCP options that are exported by dhcpcd are specified in /system/etc/dhcpcd/dhcpcd.conf. By default, ICS and JB (I think GB is the same) uses these:
# dhcpcd-run-hooks uses these options.
option subnet_mask, routers, domain_name_servers
To get the domain name exported, domain_name needs to be added:
option subnet_mask, routers, domain_name_servers, domain_name
4) I then tried creating a new hook similar to 20-dns.conf; I called it 25-net.dns.search.conf:
# Set net.dns.search property to domain_name from DHCP
set_dns_props()
{
setprop net.dns.search ${new_domain_name}
}
unset_dns_props()
{
setprop net.dns.search ""
}
case "${reason}" in
BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|IPV4LL) set_dns_props;;
EXPIRE|FAIL|RELEASE|STOP) unset_dns_props;;
esac
This unfortunately doesn't work - it fails because dhcpcd doesn't have permission to set the property "net.dns.search". I know the environment variable $new_domain_name was exported correctly - when I added
echo "${new_domain_name}" > /data/local/new_domain_name
to the hook, it contained the right domain name when I disconnected and re-connected to wifi.
5) I was unable to use "su" to set the property. Superuser pop-up window is not displayed and toaster notification simply shows something like "shell was denied root access".
--- To be continued in the following comment :)
Could any of you more knowledgeable Android fans assist me with developing a fix for this issue - be it at least for rooted phones? I've been looking into this issue for quite some time and this is what I've found:
1) The DNS search suffix is stored in the system property "net.dns.search". When it's set DNS resolution of simple hostnames WORKS:
shell@android:/ # ping errorek
ping: unknown host errorek
2|shell@android:/ # setprop net.dns.search "
shell@android:/ # ping errorek
PING
64 bytes from
2) Android uses dhcpcd to obtain IP configuration from DHCP. The configuration is in /system/etc/dhcpcd. The folder /system/etc/dhcpcd/dhcpcd-hooks contains hooks that are executed on DHCP events - for example, file /system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf sets properties "dhcp.<interface>.dnsX" to the DNS servers obtained from DHCP and exported by dhcpcd as environment variable $new_domain_name_servers
3) DHCP options that are exported by dhcpcd are specified in /system/etc/dhcpcd/dhcpcd.conf. By default, ICS and JB (I think GB is the same) uses these:
# dhcpcd-run-hooks uses these options.
option subnet_mask, routers, domain_name_servers
To get the domain name exported, domain_name needs to be added:
option subnet_mask, routers, domain_name_servers, domain_name
4) I then tried creating a new hook similar to 20-dns.conf; I called it 25-net.dns.search.conf:
# Set net.dns.search property to domain_name from DHCP
set_dns_props()
{
setprop net.dns.search ${new_domain_name}
}
unset_dns_props()
{
setprop net.dns.search ""
}
case "${reason}" in
BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|IPV4LL) set_dns_props;;
EXPIRE|FAIL|RELEASE|STOP) unset_dns_props;;
esac
This unfortunately doesn't work - it fails because dhcpcd doesn't have permission to set the property "net.dns.search". I know the environment variable $new_domain_name was exported correctly - when I added
echo "${new_domain_name}" > /data/local/new_domain_name
to the hook, it contained the right domain name when I disconnected and re-connected to wifi.
5) I was unable to use "su" to set the property. Superuser pop-up window is not displayed and toaster notification simply shows something like "shell was denied root access".
--- To be continued in the following comment :)
pe...@sedlacek.biz <pe...@sedlacek.biz> #97
6) I see that the DHCP hooks actually do not set the main "net.dnsX" properties that control DNS resolution. Instead, they set "dhcp.<interface>.dnsX" as shown above. The property "net.dnsX" must be set from some other script that naturally has permissions to set the property. That leads me to think that the correct way to handle this would be to set the property "dhcp.<interface>.search" in the DHCP hook and then set "net.dns.search" from the other script.
7) I do not know which script is it but I'm going to look into it now. Also, I'm going to confirm that I can set "dhcp.<interface>.search" from the dhcp hook.
Any testers welcome!
Pete
7) I do not know which script is it but I'm going to look into it now. Also, I'm going to confirm that I can set "dhcp.<interface>.search" from the dhcp hook.
Any testers welcome!
Pete
pe...@sedlacek.biz <pe...@sedlacek.biz> #98
Right. I can confirm that the property "dhcp.<interface>.search" can be set from the new dhcpcd hook as expected. However, I haven't been able to find out where the "net.dnsX" properties are set.
After some more googling it looks like the net.dnsX properties are copied from other properties (like dhcp.<interface>.dnsX) by framework class ConnectivityManager. Duh.
Anybody have any idea how to persuade su to work properly in the dhcpcd hook? I'm getting following errors in the log (adb logcat):
E/su (27108): select failed with 17: File exists
W/su (27108): request rejected (1014->0 setprop net.dns.searchfatsoft.co.uk )
Pete
After some more googling it looks like the net.dnsX properties are copied from other properties (like dhcp.<interface>.dnsX) by framework class ConnectivityManager. Duh.
Anybody have any idea how to persuade su to work properly in the dhcpcd hook? I'm getting following errors in the log (adb logcat):
E/su (27108): select failed with 17: File exists
W/su (27108): request rejected (1014->0 setprop net.dns.search
Pete
ha...@gmail.com <ha...@gmail.com> #99
I think we are talking about two issues.
1) in a *browser*, "http://" should be optional whenever the string entered *could* be parsed into a valid URI if it had been prefixed with it. Right now private DNS domains get sent right to search even if the FQDN is provided.
2) abbreviated host names are not being resolved with the provided search suffix.
It seems to me that these are really two separate issues, though they both impact people that use private DNS namespaces.
1) in a *browser*, "http://" should be optional whenever the string entered *could* be parsed into a valid URI if it had been prefixed with it. Right now private DNS domains get sent right to search even if the FQDN is provided.
2) abbreviated host names are not being resolved with the provided search suffix.
It seems to me that these are really two separate issues, though they both impact people that use private DNS namespaces.
am...@gmail.com <am...@gmail.com> #100
I am also looking for a fix for this issue, not for the reasons mentioned above but to get the domain name and contact a server in that domain.
I looked at the Android open source and ended up realizing that if we could have the Domain name exposed through the DhcpInfo classhttp://developer.android.com/reference/android/net/DhcpInfo.html , then applications could use it.
To do this, dhcp daemon will need to request the domain name and then the domain name has to be written to a system property (can not write to net.dns.search directly as pete mentioned) and be read and provided to the framework. I have this piece working and if required, I can try to make further modifications to set "net.dns.search" property with the domain name.
However, the bigger question is that does Domain name belong in the DhcpInfo class?
Any suggestions / comments?
Amol
I looked at the Android open source and ended up realizing that if we could have the Domain name exposed through the DhcpInfo class
To do this, dhcp daemon will need to request the domain name and then the domain name has to be written to a system property (can not write to net.dns.search directly as pete mentioned) and be read and provided to the framework. I have this piece working and if required, I can try to make further modifications to set "net.dns.search" property with the domain name.
However, the bigger question is that does Domain name belong in the DhcpInfo class?
Any suggestions / comments?
Amol
ny...@gmail.com <ny...@gmail.com> #101
Why bother if you can't modify DhcpInfo to do the right thing? May as well just have /etc/dhcpcd/dhcpcd-hooks do the right thing along the lines of what Pete is already doing.
rg...@google.com <rg...@google.com> #102
It's best to pass it to the framework via the dhcpinfo object. There may
be multiple networks in play and you should let the framework do its think
regarding them. The LinkProperties object should also be modified.
While you're at it, you could make the DhcpInfo object use an array of dns
server addresses rather than just the pair..
be multiple networks in play and you should let the framework do its think
regarding them. The LinkProperties object should also be modified.
While you're at it, you could make the DhcpInfo object use an array of dns
server addresses rather than just the pair..
[Deleted User] <[Deleted User]> #103
[Comment deleted]
sd...@gmail.com <sd...@gmail.com> #104
Gday everyone. Put me down too for being at a loss as to why local domain awareness isn't supported.
As a workaround, there's a good trick involving running up an apache server to handle requests with no domain specified...
The thing that still sucks (and this is another android problem) is having to set the proxy manually.
Android really needs to add support for dhcp option 252 (wpad) and dns configured proxy settings...
We have customers that like Android enough to live with the workaround but I think Android marketshare would increase even more significantly in the tablet space if they can get these two issues sorted...
As a workaround, there's a good trick involving running up an apache server to handle requests with no domain specified...
The thing that still sucks (and this is another android problem) is having to set the proxy manually.
Android really needs to add support for dhcp option 252 (wpad) and dns configured proxy settings...
We have customers that like Android enough to live with the workaround but I think Android marketshare would increase even more significantly in the tablet space if they can get these two issues sorted...
si...@gmail.com <si...@gmail.com> #105
I can also confirm this on HTC EVO 4G and the Kindle Fire. Both fail on hostname resolution, requiring either hostname.domainname.local or IP address. Not going over very well for those at the company who have android devices.
ma...@gmail.com <ma...@gmail.com> #106
I can confirm this on verizon galaxy s3. PLEASE FOR THE LOVE OF GOD FIX THIS. :) Thanks.
fu...@gmail.com <fu...@gmail.com> #107
Bump, please fix
ef...@gmail.com <ef...@gmail.com> #108
It's really hard to get my corporate environment to switch to Android devices when this problem has been occurring for some time now. Google, please, please, PLEASE get this fixed, and thanks!
am...@gmail.com <am...@gmail.com> #109
@rgreenw : A fix is attempted and available for your review. Please see my email.
Please expedite the adoption as you commented above.
Please expedite the adoption as you commented above.
js...@gmail.com <js...@gmail.com> #110
I can confirm that domain name issues exist on Galaxy S2 and also the new Enterprise ET1 tablet.......really really need this resolved as one of our new apps relies on the ET1 Enterprise Tablet
fl...@gmail.com <fl...@gmail.com> #111
No
fl...@gmail.com <fl...@gmail.com> #112
No
ve...@gmail.com <ve...@gmail.com> #113
This is a basic feature of name resolution and really needs to be addressed.
It is embarrassing when IOS supports this. Failing to support this feature will make corporate Android adoption challenging.
Do the right thing and fix this.
It is embarrassing when IOS supports this. Failing to support this feature will make corporate Android adoption challenging.
Do the right thing and fix this.
ma...@gmail.com <ma...@gmail.com> #114
To all those who are complaining here like me, please vote for this issues aka:"Star" it to it goes up in the list ;)
ne...@gmail.com <ne...@gmail.com> #115
Unknowing of this tread, I created another one
https://code.google.com/p/android/issues/detail?id=38037
We see issue onwww.greenecs.com
The issue is browser independent, device independent, android version independent (2.2, 2.3, 4.03).
We see issue on
The issue is browser independent, device independent, android version independent (2.2, 2.3, 4.03).
cr...@gmail.com <cr...@gmail.com> #116
I have tried with Asus Transformer prime with Jelly Belly and it is a no go. Also is it just me or is there not enough attention brought to this issue. I can't seem to find anything on Xda or any other sites, although it seems like SpiceWorks knows of these issue. Has anyone else found other sites talking about this?
http://community.spiceworks.com/topic/142450-we-need-google-s-help-to-make-the-spiceworks-mobile-for-android-better
ee...@gmail.com <ee...@gmail.com> #117
I can reproduce this on my university network
si...@gmail.com <si...@gmail.com> #118
This is occuring still on latest 4.1.2 :(
da...@abigmailbox.com <da...@abigmailbox.com> #119
Another corporate adopter that can't really use android devices because of this issue. Really need this fixed!
tr...@gmail.com <tr...@gmail.com> #121
Add me to this list, I have had to go down the route of setting up DNS on my homeserver to resolve the issue which is less than ideal. All my other devices are able to use this functionality OK.
da...@abigmailbox.com <da...@abigmailbox.com> #122
Just received the 4.2 update for my Nexus7 and the problem persists. :(
bl...@googlemail.com <bl...@googlemail.com> #123
Wow, two years and the issue persists, way to go Google.
Guess the think "it's open source, fix it yourself, we're too busy with other things".
I was pretty disappointed when I tried to reach my pc over the browser to test a web interface I was working on just to find out it googles up my network name whenever I enter it.
If I wouldn't have had given it a static ip in the network I wouldn't even be able to find it.
Guess the think "it's open source, fix it yourself, we're too busy with other things".
I was pretty disappointed when I tried to reach my pc over the browser to test a web interface I was working on just to find out it googles up my network name whenever I enter it.
If I wouldn't have had given it a static ip in the network I wouldn't even be able to find it.
jo...@centimark.com <jo...@centimark.com> #124
Google, you're a failure. How is it that an issue like this goes unaddressed for sooooooo long?
dr...@protonmail.com <dr...@protonmail.com> #125
Till this is fixed I can not recommend the use of Android Tablets in corporate use - BTW we are evaluating Tablets at the moment for display of clinical data.
rg...@google.com <rg...@google.com> #126
The fix for this has gone in thanks to Kevin Tang. It will be available in
the next major release.
the next major release.
kx...@gmail.com <kx...@gmail.com> #127
Wow, in record time too.
na...@gmail.com <na...@gmail.com> #128
4.2? 5.0?
ol...@rdmo.com <ol...@rdmo.com> #129
Jeez.... It's about time !! Two year and a half for such an issue ! Please never again, Google.
rg...@google.com <rg...@google.com> #130
Guys, it was a matter of prioritization and resources. We don't have
people to put on every requested feature and we certainly were not idle
during this time. I apologize it took so long.
I can't say what the next version will be (neither know it nor can discuss
it) but it will be after 4.2, which has already gone out.
people to put on every requested feature and we certainly were not idle
during this time. I apologize it took so long.
I can't say what the next version will be (neither know it nor can discuss
it) but it will be after 4.2, which has already gone out.
ty...@gmail.com <ty...@gmail.com> #131
[Comment deleted]
kx...@gmail.com <kx...@gmail.com> #132
This isn't some "requested feature", this is a major functional defect that has been around since -Eclair-.
lo...@gmail.com <lo...@gmail.com> #133
For god sakes, people, just be happy it's fixed.
ku...@gmail.com <ku...@gmail.com> #134
Thank you for the status update. Eagerly awaiting its actual availability.
da...@abigmailbox.com <da...@abigmailbox.com> #135
And that means it'll never be fixed for the devices I have. YAY! I get to buy new hardware. [/sarcasm]
Seriously though, I'm glad you are working on basic functionality of DNS.
Seriously though, I'm glad you are working on basic functionality of DNS.
pe...@sedlacek.biz <pe...@sedlacek.biz> #136
@rgreenw... That's great to hear (although a fix must have been pretty simple, really). Could you please link to the code submitted to fix this issue?
Thanks!
Thanks!
rg...@google.com <rg...@google.com> #137
Due to merge conflicts and API changes, the change was submitted internally
and will appear in the next release. It was based on:
https://android-review.googlesource.com/#/c/42810/
https://android-review.googlesource.com/#/c/42755/
https://android-review.googlesource.com/#/c/42811/
https://android-review.googlesource.com/#/c/42739/
and will appear in the next release. It was based on:
ny...@gmail.com <ny...@gmail.com> #138
I dont see search path support in that patch, only domainname.
rg...@google.com <rg...@google.com> #139
As I said, that isn't the change that was submitted. Internally we turned
on both domain_name and domain_search.
on both domain_name and domain_search.
to...@gmail.com <to...@gmail.com> #140
Quit emailing me I'm waiting for a nexus 4 and you get my hopes up for a
tracking number.
tracking number.
ha...@gmail.com <ha...@gmail.com> #141
[Comment deleted]
ha...@gmail.com <ha...@gmail.com> #142
I want to thank you for implementing the hook and API members for these DHCP options.
I think respecting these DHCP scope options is a great step. That said, I don't think this fixes the expected user behavior in the browser.
Will this fix the problem in the browser documented in #24571: entering "www.local" or "www" in the address bar invokes Google Search with the entered host name as the keyword instead of performing the expected action of opening the web page athttp://www.local . [In this scenario, assume that .local is the private DNS domain name or appears in the domain search list and "www.local" resolves in DNS to an A record or CNAME to an A record running a web server.]
I think respecting these DHCP scope options is a great step. That said, I don't think this fixes the expected user behavior in the browser.
Will this fix the problem in the browser documented in #24571: entering "www.local" or "www" in the address bar invokes Google Search with the entered host name as the keyword instead of performing the expected action of opening the web page at
rg...@google.com <rg...@google.com>
tr...@gmail.com <tr...@gmail.com> #143
Too little too late, brought a surface and i'm loving it. Next up, Lumia 920.
[Deleted User] <[Deleted User]> #144
No other company would take this long to fix a simple yet important bug, Make excuses all you like Google, but this sort of thing just shows how pathetic Android is.
fb...@gmail.com <fb...@gmail.com> #145
[Comment deleted]
fb...@gmail.com <fb...@gmail.com> #146
Not all android devices will be updated to 4.2, that means there is no hope for those devices if Google does not do something about it. I'm not sure if my galaxy s2 will be upgraded to android 4.2. Two and a half years to fix a simple bug? This is not good for the Google brand. Im switching to IOS
da...@gmail.com <da...@gmail.com> #147
@146 fblue2
Worse yet, this isn't just a simple bug, it's *intentionally* breaking native Linux, (and integral DNS) functionality, which has existed for what-close to two decades?
It's inexcusable. Can you imagine the uproar if MS had broken this functionality? It's a core element of DNS!
Let the DNS server do it's job. I simply can't imagine why someone went out of their way to *remove* this.
<DOUBLE facepalm>
Worse yet, this isn't just a simple bug, it's *intentionally* breaking native Linux, (and integral DNS) functionality, which has existed for what-close to two decades?
It's inexcusable. Can you imagine the uproar if MS had broken this functionality? It's a core element of DNS!
Let the DNS server do it's job. I simply can't imagine why someone went out of their way to *remove* this.
<DOUBLE facepalm>
zi...@gmail.com <zi...@gmail.com> #148
Better late than never. Hopefully Google will also be taking a look at the two years outstanding Wifi DHCP lease bug ( Issue 36921335 ) which has been dragging Android's name through the mud in business/education: http://code.google.com/p/android/issues/detail?id=11236
That one seems even more dire since it still doesn't even have an owner.
That one seems even more dire since it still doesn't even have an owner.
rg...@google.com <rg...@google.com> #149
Thx Zizagoo for the reference.
I'll take a look at it.
I'll take a look at it.
r4...@gmail.com <r4...@gmail.com> #150
LG Nexus 4 with 4.2.1 still see this problem.
he...@gmail.com <he...@gmail.com> #151
Please fix this with first priority.
ax...@gmail.com <ax...@gmail.com> #152
I'm on Asus TF700t and Droid 4.1.. There is no dns search from dhcp.. I use option 15 and 135. i saw somthing about 119.?? no default MS dns option????
Well When will it be out?
Well When will it be out?
sl...@gmail.com <sl...@gmail.com> #153
In my opinion, this MUST be fixed for all versions of android 2.3 and upwards.
cw...@gmail.com <cw...@gmail.com> #154
It is absurd that an open source network os does not honor the dhcp-provided search domain. Apple IOS does.
an...@gmail.com <an...@gmail.com> #155
I'm experiencing this bug on a Nexus 7 I just bought and I'm pretty upset seeing all of this. I saved for months to afford this tablet for grad school and there appears to be no fix - you have to be kidding me.
rg...@google.com <rg...@google.com> #156
You can always type in the fully qualified path.
It has been fixed in future releases.
I'm sorry it took a while to get fixed.
It has been fixed in future releases.
I'm sorry it took a while to get fixed.
br...@gmail.com <br...@gmail.com> #157
Of course we can use the fully qualified path ("name" is the proper nomenclature, FWIW). Everyone here knows that. That a FQDN is *required* is the entire complaint of this ticket.
Can you report which release an Android user would expect to see it in?
Can you report which release an Android user would expect to see it in?
rg...@google.com <rg...@google.com> #158
I don't know what the next release will be called or labeled.
cr...@gmail.com <cr...@gmail.com> #159
This is a major issue for using android in a serious business environment
an...@gmail.com <an...@gmail.com> #160
I know the 5.0 development is under the way, but would it be possible to backport this change to 4.2?
Because many tablets and phones will not get updates to 5.0 soon, but instead will get (hopefully) updates to 4.2 in the next month.
Because many tablets and phones will not get updates to 5.0 soon, but instead will get (hopefully) updates to 4.2 in the next month.
je...@gmail.com <je...@gmail.com> #161
I have the same problem for years now and it doesn't get solved. What a failure! If I run my local network with a local domain every device accepts it but not Android...
So google forces me to use an existing domain name which I will never visit for local addresses, this works, but it's terrible ugly!
So google forces me to use an existing domain name which I will never visit for local addresses, this works, but it's terrible ugly!
ni...@gmail.com <ni...@gmail.com> #162
We are facing the same problem at my work, but, an it seems that the Android 3 just dont like to honor the dns configuration received through dhcp, and still insists to use the Google ones :
Iptables log at the firewall, blocking outgoing dns queries:
Feb 11 17:11:36 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=35639 DF PROTO=UDP SPT=56219 DPT=53 LEN=49 MARK=0
Feb 11 17:11:37 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=35791 DF PROTO=UDP SPT=16060 DPT=53 LEN=42 MARK=0
Feb 11 17:11:41 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=36919 DF PROTO=UDP SPT=62492 DPT=53 LEN=49 MARK=0
Feb 11 17:11:42 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=37077 DF PROTO=UDP SPT=2582 DPT=53 LEN=42 MARK=0
Feb 11 17:11:46 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=36920 DF PROTO=UDP SPT=62492 DPT=53 LEN=49 MARK=0
Feb 11 17:11:47 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=37078 DF PROTO=UDP SPT=2582 DPT=53 LEN=42 MARK=0
Feb 11 17:11:51 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=38200 DF PROTO=UDP SPT=38443 DPT=53 LEN=49 MARK=0
Feb 11 17:11:56 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=38201 DF PROTO=UDP SPT=38443 DPT=53 LEN=49 MARK=0
If we fix the IP and DNS address works while resolving internal network names, but, will be such a waste of precious time fixing IP's on every tablet/smartphone...
Iptables log at the firewall, blocking outgoing dns queries:
Feb 11 17:11:36 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=35639 DF PROTO=UDP SPT=56219 DPT=53 LEN=49 MARK=0
Feb 11 17:11:37 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=35791 DF PROTO=UDP SPT=16060 DPT=53 LEN=42 MARK=0
Feb 11 17:11:41 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=36919 DF PROTO=UDP SPT=62492 DPT=53 LEN=49 MARK=0
Feb 11 17:11:42 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=37077 DF PROTO=UDP SPT=2582 DPT=53 LEN=42 MARK=0
Feb 11 17:11:46 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=36920 DF PROTO=UDP SPT=62492 DPT=53 LEN=49 MARK=0
Feb 11 17:11:47 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=62 TOS=00 PREC=0x00 TTL=63 ID=37078 DF PROTO=UDP SPT=2582 DPT=53 LEN=42 MARK=0
Feb 11 17:11:51 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=38200 DF PROTO=UDP SPT=38443 DPT=53 LEN=49 MARK=0
Feb 11 17:11:56 hafw1 IN=vlanXXXX OUT=vlanXXXX MAC=XXXX SRC=10.0.0.107 DST=8.8.8.8 LEN=69 TOS=00 PREC=0x00 TTL=63 ID=38201 DF PROTO=UDP SPT=38443 DPT=53 LEN=49 MARK=0
If we fix the IP and DNS address works while resolving internal network names, but, will be such a waste of precious time fixing IP's on every tablet/smartphone...
rg...@google.com <rg...@google.com> #163
Nicolas, the issue you describe (using 8.8.8.8 instead of the dns server addresses given by dhcp) is very different than this issue. Can you create a new issue to discuss it?
as...@gmail.com <as...@gmail.com> #164
Everyone here does understand that back-porting isn't an option, right? Once the code is released and sent to (eg. Samsung) it gets modified. Then it gets sent to (eg. AT&T) and gets modified again. By the time you get it, it isn't an option for Google to patch it. Really, the only way to get changes from Google is in the next release.
Of course, considering the way the above referenced pattern goes, unless you have a pure google device (Nexus) you are likely to be waiting years to see the next version. This only leaves a few options. 1) Wait. 2) Complain for no reason. 3) Get different device.
But I do agree with the frustration here. This never should have happend, or been ignored when pointed out. It is not a 'feature request' that there aren't enough developers to handle. This is core functionality which should have been addressed quickly with an appology.
Of course, considering the way the above referenced pattern goes, unless you have a pure google device (Nexus) you are likely to be waiting years to see the next version. This only leaves a few options. 1) Wait. 2) Complain for no reason. 3) Get different device.
But I do agree with the frustration here. This never should have happend, or been ignored when pointed out. It is not a 'feature request' that there aren't enough developers to handle. This is core functionality which should have been addressed quickly with an appology.
rg...@google.com <rg...@google.com> #165
Thanks, asmallwood0311.
I would like to point out a 4th option. This is an opensourced project.
Internally we are a small team, but externally there are many of us. 4)
Fix the problem and upload a solution. Kevin Tang did just that (
https://android-review.googlesource.com/#/c/42810/ and others) and his fix
will go out in the very next release.
I would like to point out a 4th option. This is an opensourced project.
Internally we are a small team, but externally there are many of us. 4)
Fix the problem and upload a solution. Kevin Tang did just that (
will go out in the very next release.
al...@gmail.com <al...@gmail.com> #166
Hi,
I'm making tests for my company (mobile provider) for integrate tablets (Android and IOS) in VPN, and this issue is going to make me choose the IOS, while we all prefer the Android tablets.
I'm disappointed to make this choice (ios)
Hope this will be fixed soon.
Thanks
I'm making tests for my company (mobile provider) for integrate tablets (Android and IOS) in VPN, and this issue is going to make me choose the IOS, while we all prefer the Android tablets.
I'm disappointed to make this choice (ios)
Hope this will be fixed soon.
Thanks
ha...@hardwired.net.nz <ha...@hardwired.net.nz> #167
[Comment deleted]
ha...@hardwired.net.nz <ha...@hardwired.net.nz> #168
For so many new features in Android over the years, problems like this totally eliminate Android from our enterprise usage unfortunately.
The sharepoint server here does not like FQDN on all pages and they dont want to bother changing a working system just for Android devices when they quite happily tell people to just get an iphone instead as they work with everything.
Why does something this important and far more simple than designing new Chrome browsers and graphics drivers for pretty graphics for games and Google+ apps etc gets totally left behind.
Its the little things that count sometimes and that needs to be realized in the Andriod team at some point.
The sharepoint server here does not like FQDN on all pages and they dont want to bother changing a working system just for Android devices when they quite happily tell people to just get an iphone instead as they work with everything.
Why does something this important and far more simple than designing new Chrome browsers and graphics drivers for pretty graphics for games and Google+ apps etc gets totally left behind.
Its the little things that count sometimes and that needs to be realized in the Andriod team at some point.
sp...@gmail.com <sp...@gmail.com> #169
Current issue is a showstopper in our both development and production(!) environment.
We can't use FQDN at all (first requests goes fine using FQDN, but afterwards the local resource makes forward to using short names...). Same with our partner's production environment.
I do hope it will be possible to include fix into 4.1.x release! Thanks!
We can't use FQDN at all (first requests goes fine using FQDN, but afterwards the local resource makes forward to using short names...). Same with our partner's production environment.
I do hope it will be possible to include fix into 4.1.x release! Thanks!
rg...@google.com <rg...@google.com> #170
I don't think there will be more 4.1.x releases - JB MR1 was 4.2 and we'll
be building on that.
be building on that.
sp...@gmail.com <sp...@gmail.com> #171
Ok, I see. In such case maybe you could suggest a workaround? It would be really great!
sp...@gmail.com <sp...@gmail.com> #172
[Comment deleted]
[Deleted User] <[Deleted User]> #173
Just ran into this error. This bug makes testing a web app running on my local machine a huge pain. Please prioritize this.
rg...@google.com <rg...@google.com> #174
It's fixed in an upcoming release.
ty...@gmail.com <ty...@gmail.com> #175
Android 5.0? ;)
st...@staticg.com <st...@staticg.com> #176
Ran into this issue with my phone today while deploying a wireless network at my work. I'm running CM10.1 on my Galaxy Nexus and I'm sitting here thinking I must not know what I'm doing, but my laptop has no problems... just my phone... then I stumble across this.
Too bad employees with other android phones that won't see this update for a long time will have a bad time with this.
Too bad employees with other android phones that won't see this update for a long time will have a bad time with this.
pa...@gmail.com <pa...@gmail.com> #177
Purchased a Nexus 7 on the assumption this would work. Thank you for looking into it and please hasten the release as much as possible.
ma...@gmail.com <ma...@gmail.com> #178
Has this been fixed in JB 4.2?
ca...@gmail.com <ca...@gmail.com> #179
This or iOS "Search DOmain" fuction will work...
an...@gmail.com <an...@gmail.com> #180
4.2.2 and still not fixed
rg...@google.com <rg...@google.com> #181
Note comment #165 about it being fixed was posted 2/25/13. 4.2.2 went out 2/11/13. The fix will be in the next version.
an...@gmail.com <an...@gmail.com> #182
an...@gmail.com <an...@gmail.com> #183
sn...@gmail.com <sn...@gmail.com> #184
Not fixed in 4.3 ("the next version").
rg...@google.com <rg...@google.com> #185
Please explain your test snowknight26. It is fixed in 4.3
sn...@gmail.com <sn...@gmail.com> #186
Tried pinging the hostname, browsing to the hostname in the AOSP browser (the stock browser on the Galaxy Nexus), etc.
Ping test:
u0_a96@maguro:/ $ ping faxserv
ping: unknown host faxserv
2|u0_a96@maguro:/ $ ping faxserv.testdomain.local
PING faxserv.testdomain.local (192.168.4.105) 56(84) bytes of data.
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=1 ttl=127 time=2.68 ms
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=2 ttl=127 time=10.6 ms
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=3 ttl=127 time=9.91 ms
^C
--- faxserv.testdomain.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.685/7.761/10.681/3.603 ms
u0_a96@maguro:/ $
Ping test:
u0_a96@maguro:/ $ ping faxserv
ping: unknown host faxserv
2|u0_a96@maguro:/ $ ping faxserv.testdomain.local
PING faxserv.testdomain.local (192.168.4.105) 56(84) bytes of data.
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=1 ttl=127 time=2.68 ms
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=2 ttl=127 time=10.6 ms
64 bytes from faxserv.testdomain.local (192.168.4.105): icmp_seq=3 ttl=127 time=9.91 ms
^C
--- faxserv.testdomain.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 2.685/7.761/10.681/3.603 ms
u0_a96@maguro:/ $
br...@gmail.com <br...@gmail.com> #187
How do people have 4.3 already? If the nexus has 4.3, shouldn't the nexus 4? Will any fix be backmerged? My tablet (Xoom) wont be getting 4.3.
rg...@google.com <rg...@google.com> #188
Please take a bugreport, check section "DUMP OF SERVICE connectivity",
subsection "NetworkStateTracker for WIFI:" The LinkProperties shown will
list Domains.
subsection "NetworkStateTracker for WIFI:" The LinkProperties shown will
list Domains.
rg...@google.com <rg...@google.com> #189
Brian.Hghs - that's a good question, but people are resourceful.
snowknight, did you get an official release or did you grab somebodies
system.img? This change required mods to the dhcpcd and it's startup which
may not be part of system.img, so how you got 4.3 may be relevant.
snowknight, did you get an official release or did you grab somebodies
system.img? This change required mods to the dhcpcd and it's startup which
may not be part of system.img, so how you got 4.3 may be relevant.
sn...@gmail.com <sn...@gmail.com> #190
@rgreenw...@google.com
NetworkStateTracker for WIFI:
Active network: WIFI
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "Cisco", roaming: false, failover: false, isAvailable: true
{InterfaceName: wlan0 LinkAddresses: [192.168.204.32/24, ] Routes: [192.168.204.0/24 -> 0.0.0.0,0.0.0.0/0 -> 192.168.204.254,] DnsAddresses: [192.168.4.232,192.168.4.233,] Domains: testdomain.local HttpProxy: [ProxyProperties.mHost == null] }
android.net.wifi.WifiStateTracker@424de778
I updated using the factory image available athttps://developers.google.com/android/nexus/images .
NetworkStateTracker for WIFI:
Active network: WIFI
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "Cisco", roaming: false, failover: false, isAvailable: true
{InterfaceName: wlan0 LinkAddresses: [
android.net.wifi.WifiStateTracker@424de778
I updated using the factory image available at
rg...@google.com <rg...@google.com> #191
You're getting the domains from dhcp. Your next step is to try tcpdump,
but that's a bit involved. I'll try to repro.
but that's a bit involved. I'll try to repro.
su...@gmail.com <su...@gmail.com> #192
Sorry to post here, but maybe sandroproxy
can help in some situations on android os versions that is not fixed.
http://code.google.com/p/sandrop/issues/detail?id=81
can help in some situations on android os versions that is not fixed.
jk...@gmail.com <jk...@gmail.com> #193
I'm also having the same problem as snownight on my nexus 10s running 4.3. Devices were updated OTA when the update became available, and we not sideloaded, running custom ROMs, etc.
NetworkStateTracker for WIFI:
Active network: WIFI
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "myssid", roaming: false, failover: false, isAvailable: true
{InterfaceName: wlan0 LinkAddresses: [myipaddr,] Routes: [mysubnet -> 0.0.0.0,0.0.0.0/0 -> mygateway,] DnsAddresses: [mydns1,mydns2,] Domains: example.comHttpProxy: [ProxyProperties.mHost == null] }
android.net.wifi.WifiStateTracker@42483948
NetworkStateTracker for WIFI:
Active network: WIFI
NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "myssid", roaming: false, failover: false, isAvailable: true
{InterfaceName: wlan0 LinkAddresses: [myipaddr,] Routes: [mysubnet -> 0.0.0.0,
android.net.wifi.WifiStateTracker@42483948
gi...@gmail.com <gi...@gmail.com> #194
I have receive 4.3 OTA and it is still not working
ad...@gmail.com <ad...@gmail.com> #195
I too have 4.3 via OTA update on a Nexus 7 and am facing the same issue. The connectivity dump matches the ones above.
rg...@google.com <rg...@google.com> #196
Sorry everybody. A change to the dns resolver broke the domain fanout and
it wasn't detected before we shipped.
I'll try to get a fix in so that future OTA's pick it up, but that may be
hard - without extensive testing we may not be able to take the change
(change is risk). I'll also try getting it into AOSP so OEM's can pick it
up.
R
it wasn't detected before we shipped.
I'll try to get a fix in so that future OTA's pick it up, but that may be
hard - without extensive testing we may not be able to take the change
(change is risk). I'll also try getting it into AOSP so OEM's can pick it
up.
R
pe...@sedlacek.biz <pe...@sedlacek.biz> #197
R, that's disappointing... I was so hoping this would finally get fixed with 4.3. But things like that happen.
It would be great if you could get the change into AOSP - this way at least CyanogenMod will pick it up quickly (which is all I really care about personally :).
It would be great if you could get the change into AOSP - this way at least CyanogenMod will pick it up quickly (which is all I really care about personally :).
rg...@google.com <rg...@google.com> #198
I submitted a fix yesterday to AOSP master.
f....@gmail.com <f....@gmail.com> #199
Can you show the link to the fix please?
jk...@gmail.com <jk...@gmail.com> #201
Did this make it into JWR66Y?
jk...@gmail.com <jk...@gmail.com> #202
To answer my own question, the answer is no.
th...@gmail.com <th...@gmail.com> #203
For development purposes, using the Hosts Editor app (https://play.google.com/store/apps/details?id=com.nilhcem.hostseditor ) let me access my local server. Using IP addresses did not work because the SSL cert would be invalid.
nu...@gmail.com <nu...@gmail.com> #204
Do you have a date for the release and witch release fix that problem?
rg...@google.com <rg...@google.com> #205
No. We generally do not pre-announce release dates.
nu...@gmail.com <nu...@gmail.com> #206
Will be there any hotfix for old versions, or it will be fixed only in new versions?
jk...@gmail.com <jk...@gmail.com> #207
Can anyone on kitkat confirm if this is fixed in production or not?
sn...@gmail.com <sn...@gmail.com> #208
Not fixed in 4.4. What on earth is going on?
fh...@gmail.com <fh...@gmail.com> #209
I also have this damn dns resolver problem with my Samsung Galaxy S3 (JB 4.2.2) and wonder me why this isssue is not solved now? Need to access some local servers and a ping to local hostname doesn't work.This really sucks. unbelievable that this issue is not fixed ( 4.3 and 4.4 ) until today. Google, what are you doing in your labs, counting money ?
su...@gmail.com <su...@gmail.com> #210
Maybe Drony can help in some situations on non rooted devices. It's a proxy.
https://play.google.com/store/apps/details?id=org.sandroproxy.drony
When dns fails it will try to resolve
with help of domain names stated in settings and cache result.
When dns fails it will try to resolve
with help of domain names stated in settings and cache result.
pa...@gmail.com <pa...@gmail.com> #211
Internal websites are working natively for my buddy with android 4.2.2 on an LG G2 through both the stock browser and Chrome, but not on my Nexus 4 or my Nexus 7 on 4.3 or back when they had 4.2.2.
gj...@rubbusa.com <gj...@rubbusa.com> #212
Seems to be working on my Nexus 5 and 4.4; I ask for http://companyweb and get a prompt to log in to our Intranet. Seems to work fine. Does not work on my Nexus 7 (2012) with 4.3 connected to same LAN with same WiFi. Expect an OTA update to 4.4 soon, will report back if it works. Note that Firefox Beta browser on the Nexus 7 resolves local DNS just fine.
ku...@gmail.com <ku...@gmail.com> #213
I too finally got a chance to test with Nexus 5 (4.4) and internal non-FQDN services are now working. Finally.
zo...@gmail.com <zo...@gmail.com> #214
Nexus 4 ver4.3 it still not working. It is really sad :(
rg...@google.com <rg...@google.com> #215
4.3 will never get the fix - the fixed build is 4.4.
ky...@gmail.com <ky...@gmail.com> #216
This problem is fixed on Droid MAXX (Stock Android 4.2.2 from Verizon) for me.
gj...@rubbusa.com <gj...@rubbusa.com> #217
Confirmed that it is fixed in the 4.4 update that just rolled out to my Nexus 7 (2012). Thank you, Google!
sn...@gmail.com <sn...@gmail.com> #218
@rgreenw...@google.com
What about in the instances where it's not fixed in 4.4?
shell@hammerhead:/ $ grep ro.build.version.release= system/build.prop
ro.build.version.release=4.4
shell@hammerhead:/ $ grep ro.product.model= system/build.prop
ro.product.model=Nexus 5
shell@hammerhead:/ $ ping dc01
ping: unknown host dc01
shell@hammerhead:/ $ nslookup dc01
nslookup: can't resolve '(null)': Name or service not known
nslookup: can't resolve 'dc01': Name or service not known
shell@hammerhead:/ $ ping dc01.domain.local
PING dc01.domain.local (192.168.4.232) 56(84) bytes of data.
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=1 ttl=127 time=13.0 ms
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=2 ttl=127 time=13.5 ms
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=3 ttl=127 time=12.0 ms
^C
--- dc01.domain.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 12.092/12.901/13.536/0.609 ms
What about in the instances where it's not fixed in 4.4?
shell@hammerhead:/ $ grep ro.build.version.release= system/build.prop
ro.build.version.release=4.4
shell@hammerhead:/ $ grep ro.product.model= system/build.prop
ro.product.model=Nexus 5
shell@hammerhead:/ $ ping dc01
ping: unknown host dc01
shell@hammerhead:/ $ nslookup dc01
nslookup: can't resolve '(null)': Name or service not known
nslookup: can't resolve 'dc01': Name or service not known
shell@hammerhead:/ $ ping dc01.domain.local
PING dc01.domain.local (192.168.4.232) 56(84) bytes of data.
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=1 ttl=127 time=13.0 ms
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=2 ttl=127 time=13.5 ms
64 bytes from dc01.domain.local (192.168.4.232): icmp_seq=3 ttl=127 time=12.0 ms
^C
--- dc01.domain.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 12.092/12.901/13.536/0.609 ms
jk...@gmail.com <jk...@gmail.com> #219
I'm out of the office this week so I can't test directly on wlan yet, but after I got the 4.4 ota on my n10, I tested over a VPN link (Sonicwall mobile connect) and unqualified domain names will still not resolve. I will test on wlan on Monday.
cr...@gmail.com <cr...@gmail.com> #220
I can comfrim on Verizon MotoX with 4.4 that it is still not fixed. I Wiresharked my DHCP server and Android did not request DNS Domain Name opt 15, but my DHCP server did give it out. Below are test results from BusyBox using the nslookup command.
---------------BusyBox Results --------------------------------
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $ nslookup rockdc 10.127.85.10
Server: 10.127.85.10
Address 1: 10.127.85.10
nslookup: can't resolve 'rockdc': hostname nor servname provided, or not known
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $ nslookuprockdc.rockcorp.domain.com 10.127.85.10 <
Server: 10.127.85.10
Address 1: 10.127.85.10
Name:rockdesk.rockcorp.domain.com
Address 1: 10.127.85.55
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $
----------------------------------------------------------------
---------------BusyBox Results --------------------------------
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $ nslookup rockdc 10.127.85.10
Server: 10.127.85.10
Address 1: 10.127.85.10
nslookup: can't resolve 'rockdc': hostname nor servname provided, or not known
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $ nslookup
Server: 10.127.85.10
Address 1: 10.127.85.10
Name:
Address 1: 10.127.85.55
u0_a205@ghost:/data/data/com.bitcubate.root.busybox.complete $
----------------------------------------------------------------
ha...@gmail.com <ha...@gmail.com> #221
3.5 years and over 200 comments later and this "resolved" problem is probably still a year away from global release. Color me unimpressed.
rg...@gmail.com <rg...@gmail.com> #222
I figured out what the issue is.
If you use gethostbyname from native code AND your target does not contain a period '.' char, we will not search the domains. getaddrinfo works regardless of the target and gethostbyname works if you have at least one period in the target. Unfortunately our test had a period in the name and so it appeared to work fine.
If you did the dns lookup from java it's impl uses getaddrinfo so you didn't see this problem.
I'll work up a batch for this in AOSP and fix our test.
If you use gethostbyname from native code AND your target does not contain a period '.' char, we will not search the domains. getaddrinfo works regardless of the target and gethostbyname works if you have at least one period in the target. Unfortunately our test had a period in the name and so it appeared to work fine.
If you did the dns lookup from java it's impl uses getaddrinfo so you didn't see this problem.
I'll work up a batch for this in AOSP and fix our test.
wi...@xandar.com.au <wi...@xandar.com.au> #224
I wish I could +1 this change :-)
Thanks for finding and fixing Robert.
Many of us have been waiting a long time, the fix is very much appreciated.
Thanks for finding and fixing Robert.
Many of us have been waiting a long time, the fix is very much appreciated.
ti...@gmail.com <ti...@gmail.com> #225
so now our devices get to wait for 5.0?
ti...@gmail.com <ti...@gmail.com> #226
"Unfortunately our test had a period in the name and so it appeared to work fine."
then your test ignored the core of the problem that was discussed in detail in posts 1, 3, 12... and again and again and again. i think instead of waiting for the 5.0 release that "may" fix this i'm gonna give up and just suggest surface tablets to my boss.
then your test ignored the core of the problem that was discussed in detail in posts 1, 3, 12... and again and again and again. i think instead of waiting for the 5.0 release that "may" fix this i'm gonna give up and just suggest surface tablets to my boss.
jk...@gmail.com <jk...@gmail.com> #228
My followup to #219 is, as noted by others above, that an unqualified hostname will not resolve from a shell or the PIng & DNS app. However, CHROME will now actually resolve an unqualified host (but only on WLAN... not on VPN).
With regard to the merged 62073, please look at this as a possible separate issue. Examining debug, I did not find the DHCP provided search domain anywhere when connected via VPN.
With regard to the merged 62073, please look at this as a possible separate issue. Examining debug, I did not find the DHCP provided search domain anywhere when connected via VPN.
jk...@gmail.com <jk...@gmail.com> #230
Problem still exists in 4.4.2
dt...@gmail.com <dt...@gmail.com> #231
I have a related but somewhat different question.
Is it possible for Andriod to support the mechanism like Bonjour/Zeroconf, so that .local domain name can be recognized by browser or APP without setting up a DNS?
Is it possible for Andriod to support the mechanism like Bonjour/Zeroconf, so that .local domain name can be recognized by browser or APP without setting up a DNS?
rg...@google.com <rg...@google.com> #232
Hey DTung,
Android does support bonjour but doesn't do service discovery with every dns lookup (ie, typing a service name into the browser doesn't do service discovery). Do other devices/os/laptops do that? I'm unaware of it.
Android does support bonjour but doesn't do service discovery with every dns lookup (ie, typing a service name into the browser doesn't do service discovery). Do other devices/os/laptops do that? I'm unaware of it.
dt...@gmail.com <dt...@gmail.com> #233
rgreenw,
Thanks for responding to my request.
I tried browsers in iOS(iPhone and iPad), Windows(laptop) and Ubuntu(laptop), they all recognize hostname.local as local address. I also tried APPs in iOS by entering local address instead of IP address, they also work.
I don't know whether those OS do service discovery with every dns lookup, or they do other tricks. But let me know if you need me to try out something for you. (You can send the request directly to me email.)
As you can see this feature is a painless way to maintain a local address for home printer, nas and server without setting up a dns server yourself. It wouldn't be good for Android and your users alone be left out of this feature.
Thanks for responding to my request.
I tried browsers in iOS(iPhone and iPad), Windows(laptop) and Ubuntu(laptop), they all recognize hostname.local as local address. I also tried APPs in iOS by entering local address instead of IP address, they also work.
I don't know whether those OS do service discovery with every dns lookup, or they do other tricks. But let me know if you need me to try out something for you. (You can send the request directly to me email.)
As you can see this feature is a painless way to maintain a local address for home printer, nas and server without setting up a dns server yourself. It wouldn't be good for Android and your users alone be left out of this feature.
rg...@google.com <rg...@google.com> #234
Feature request 12422203 created to track .local
dt...@gmail.com <dt...@gmail.com> #235
Thanks.
How can I follow the progress of the feature request?
How can I follow the progress of the feature request?
ho...@gmail.com <ho...@gmail.com> #236
Hi I have an motorola ET1 device on Android 4.1.1. I am not very technical but have an issue that seems to be related to the above. I have set up static Ip's and the DNS against a specific wifi connection. I can ping the whole network happily but I can't ping domain names? I can't edit the host file as i dont want to root the device.
Is there something in this message board that can help?
Any help would be appreciated
Mike
Is there something in this message board that can help?
Any help would be appreciated
Mike
rg...@google.com <rg...@google.com> #237
Does the network have internet access? You could try changing your dns
server setting to public dns like 8.8.8.8 and see if helps. If you can't
reach domain names, is that any domain name, or are you trying to use a
partial domain name relying on the search path to fill in the rest?
If you control the network you could capture tcp dumps from somewhere on
the network to gain a clue what's happening.
R
server setting to public dns like 8.8.8.8 and see if helps. If you can't
reach domain names, is that any domain name, or are you trying to use a
partial domain name relying on the search path to fill in the rest?
If you control the network you could capture tcp dumps from somewhere on
the network to gain a clue what's happening.
R
dt...@gmail.com <dt...@gmail.com> #238
Rgreenw,
I don't know your latest comment is addressing to me or not, but this is the first message I got after reporting this issue two months ago. I assume it is.
Public dns should be a problem because under the same situation (the same public dns), iPad, iPhone, and Windows all work well.
It will be somewhat troublesome for me to debug the tcp myself, because I am not so familiar with all the protocols.
Can you try to duplicate the problem on your side, you just need one Windows, or standard Linux (like Ubuntu) with web server to duplicate the problem. You just need to use the chrome browser to connect to the local server machine with
http://localhost.local/ , where localhost is the host name of your local server. The problem is it only works when I use ip address, in iOS or windows, localhost.local also work.
Please let me know if you still have more questions.
Regards,
David
I don't know your latest comment is addressing to me or not, but this is the first message I got after reporting this issue two months ago. I assume it is.
Public dns should be a problem because under the same situation (the same public dns), iPad, iPhone, and Windows all work well.
It will be somewhat troublesome for me to debug the tcp myself, because I am not so familiar with all the protocols.
Can you try to duplicate the problem on your side, you just need one Windows, or standard Linux (like Ubuntu) with web server to duplicate the problem. You just need to use the chrome browser to connect to the local server machine with
Please let me know if you still have more questions.
Regards,
David
rg...@google.com <rg...@google.com> #239
dtung - No, my questions were directed to howalcatraz in #236.
dtung, it's probably best to create a new issue tracking your request so it doesn't get lost in this issue. I don't think it's a high priority feature for us at this time.
dtung, it's probably best to create a new issue tracking your request so it doesn't get lost in this issue. I don't think it's a high priority feature for us at this time.
cr...@gmail.com <cr...@gmail.com> #240
I would like if someone from google could take a look at this:
https://productforums.google.com/forum/#!msg/nexus/fslYqYrULto/6Yw1_bL7arsJ
It's basically a tcp timeout that make push notifications delayed with some routers/carriers with low tcp idle timeout.
Please address it to someone. Thanks a lot
It's basically a tcp timeout that make push notifications delayed with some routers/carriers with low tcp idle timeout.
Please address it to someone. Thanks a lot
rg...@google.com <rg...@google.com> #241
crizom85, please create a new issue for this.
Thanks
Thanks
cr...@gmail.com <cr...@gmail.com> #242
Thanks for the response, here it's something rarely and very appreciated.
I created the issue some time ago, but someone told me that is a "bug" in GoogleServiceFramework, and so outside from AOSP source (where this issue list apply).
So I opened the problem in the advice forum (see link in my previous post), but it seems like an abandoned issue that no one from google care that affect lot people.
I created the issue some time ago, but someone told me that is a "bug" in GoogleServiceFramework, and so outside from AOSP source (where this issue list apply).
So I opened the problem in the advice forum (see link in my previous post), but it seems like an abandoned issue that no one from google care that affect lot people.
rg...@google.com <rg...@google.com> #243
Technically this is the wrong forum for this, but I'm trying to see if there is any progress on this.
wa...@gmail.com <wa...@gmail.com> #244
Have 4.4.2 KitKat here, can ping device from PC command prompt with "ping device." (including period). Device can browse the internet. But can't see web server from phone to PC that I pinged from. As web server is setup with many virtual servers, using the IP address is not an option, as access depends on the host name. Combined with the other 3+ ywear old bug where DHCP client completely ignores DHCP server leases, it's a wonder you guys can get anything to work. LESS FLUFF in this OS, for crying out loud. Get the very basic core networking to function properly!
j....@gmail.com <j....@gmail.com> #245
Not knowing just how the protocols work, I suspect this may relate to a problem on my systems as well. On multiple routers (my old DD-WRT router, and my current Netgear, so completely different code on that side) I have set reserved IP addresses on the DHCP server on the router. For any other systems on my network (Linux, printers, MSWindows) the IP will be automatically set correctly, wired and wireless. But NONE of my Android devices have ever taken pre-assigned addresses (the versions range from 2.3, 4.1 and 4.4.2, haven't even tried against my NeoTV Prime).
pa...@gmail.com <pa...@gmail.com> #246
Works now on 4.4.2. Both on my nexus 7 and my nexus 4. Chrome and Firefox. Thanks for doing whatever you did, and please don't undo it.
fi...@gmail.com <fi...@gmail.com> #247
Not working on my nexus 7 with 4.4.4
rg...@google.com <rg...@google.com> #248
Fitz, can you give details - what's not working? What API are you calling? Can you take a bugreport?
pa...@gmail.com <pa...@gmail.com> #249
Is there any way to bypass this via a VPN connection? We have an HP Slate and there doesn't appear to be a 4.3 upgrade for it.
Is there a more configurable VPN client that will allow to add the DNS suffix as Windows does?
Is there a more configurable VPN client that will allow to add the DNS suffix as Windows does?
gu...@gmail.com <gu...@gmail.com> #250
[Comment deleted]
gu...@gmail.com <gu...@gmail.com> #251
This is still a problem 4.4.4
Cannot ping 'server' but can ping 'server.domain.local'
Cannot ping 'server' but can ping 'server.domain.local'
rg...@google.com <rg...@google.com> #252
and #251, what does your local domain look like via dhcp?
co...@gmail.com <co...@gmail.com> #253
is it so difficult to tell android to 'respect' data given fom dhcp ?
/etc/resolv.conf should look like this:
search mydomain.local
nameserver 192.168.10.1
but instead it looks like:
nameserver 8.8.4.4
nameserver 8.8.8.8
still no support for 'search' inside resolv :(
come on guys ... stop playing around with your balls and fix this.
/etc/resolv.conf should look like this:
search mydomain.local
nameserver 192.168.10.1
but instead it looks like:
nameserver 8.8.4.4
nameserver 8.8.8.8
still no support for 'search' inside resolv :(
come on guys ... stop playing around with your balls and fix this.
rg...@google.com <rg...@google.com> #254
The resolv.conf is not a central part of the dns resolver anymore. We get
data dynamically from multiple networks and have in-mem data structures
directing each networks dns resolver, so just because it doesn't appear in
resolv.conf is a bit of a red herring.
What release were you running?
data dynamically from multiple networks and have in-mem data structures
directing each networks dns resolver, so just because it doesn't appear in
resolv.conf is a bit of a red herring.
What release were you running?
dt...@gmail.com <dt...@gmail.com> #255
Hi there,
Thanks for continuing to tracking the problem I reported many months ago.
Unfortunately two of my Android devices are either crack on the screen
(Asus touchpad) or with power port unchangeable (Samsung phone), so the
issue is not important to me anymore. So I don't know how much more test I
can do for you. Actually because of the fragile of hardware device, I have
decided to leave Android for the foreseeable future.
As for my version of software, it is the latest and greatest release when I
reported the problem. Android version 4.4.2
Thanks for continuing to tracking the problem I reported many months ago.
Unfortunately two of my Android devices are either crack on the screen
(Asus touchpad) or with power port unchangeable (Samsung phone), so the
issue is not important to me anymore. So I don't know how much more test I
can do for you. Actually because of the fragile of hardware device, I have
decided to leave Android for the foreseeable future.
As for my version of software, it is the latest and greatest release when I
reported the problem. Android version 4.4.2
ch...@gmail.com <ch...@gmail.com> #256
Problem with Samsung Galaxy S5 also, same problem as above, and agreed, how is it possible that 4 years later this is still an issue? Especially since the "fix in the next version" was announced roughly 3 .versions back??? Anyhow, if you need a test, it's easy enough, we had to modify our Cisco Jabber server configurations around this, by hand-coding the config files for each android device to provide the FQDN back to the devices, otherwise they'd receive their config file for <server>, and then couldn't register. Not needed for windows devices, iphones, or rooted images, only factory Android versions up to 4.4.2 currently. Please fix, we are an MSP servicing hundreds of clients with thousands of users, and based on this we cannot really recommend to clients using android devices if they are not going to work with items such as their collaboration tools, sharepoint/intranet sites, etc.
mi...@gmail.com <mi...@gmail.com> #257
Android 4.1.1 on my Tablet (Prestigio) fails to resolve host name quad-core2 (even with FQDN)
Android 4.4.2 on Galaxy S4 resolves correctly.
GREAT for TESTING (NOT)!
Can we have this fixed, please?
Android 4.4.2 on Galaxy S4 resolves correctly.
GREAT for TESTING (NOT)!
Can we have this fixed, please?
np...@dainferncollege.co.za <np...@dainferncollege.co.za> #258
Hey all, I know this is a bit late in the message chain, but did anybody find a solution or work around for users who have older androids and can't upgrade to 4.4?
On our network I've attempted to setup a GlobalNames DNS Zone on our Server 2008 AD/DNS/DHCP server in the hope that Android devices would be able to use that to resolve single names to FQDN but no luck :(
On our network I've attempted to setup a GlobalNames DNS Zone on our Server 2008 AD/DNS/DHCP server in the hope that Android devices would be able to use that to resolve single names to FQDN but no luck :(
mi...@gmail.com <mi...@gmail.com> #259
While it was working on Android 4.4.x*, it does no longer work for me on Android 5.0 with Nexus 5 preview or Nexus 9 latest firmware. Is it possible it has regressed, again?
mi...@gmail.com <mi...@gmail.com> #260
Forgot to attach the bug report info: Dumping the connectivity service gives me "Domains: null" on Android 5.0, while on Android 4.4.4 i get "Domains: my.domain.com "
le...@gmail.com <le...@gmail.com> #261
Not Working for me either. I have a galaxy note 2 with android 4.4.2
Cannot access to server but can access to server.internal.domain
Cannot access to server but can access to server.internal.domain
ca...@gmail.com <ca...@gmail.com> #262
Nexus 7 and Galaxy Note 3 with 4.4.2 requires FQDN. :-( We are going to Sharepoint so management has ditched Android for iPad Minis and iPhone 6/6+.
ch...@creative-interweb.com <ch...@creative-interweb.com> #263
[Comment deleted]
ch...@creative-interweb.com <ch...@creative-interweb.com> #264
[Comment deleted]
ch...@creative-interweb.com <ch...@creative-interweb.com> #265
As far as I can tell, the android OS does not resolve any local hostnames, not even on a simple home network with half a dozen machines and a router. How do they expect to be taken seriously?
I'm no networking guru as I got side-lined by disability. However we do have a home network and run servers on it. We do not use ".local" as we have no need of a local domain and just use 192.168.0.XXX (like most people do at home). We don't bother with DDNS either as nothing is viewable to the wide world (yet).
Everything on our network gets a name as with any sane network (except for the droids where it can be an issue, even if you root them). Every devices *except* for the androids can ping using a name, not an IP. Even our busybox based NAS server can resolve a simple local hostname via the router. Even the half brain dead ZINWEL busybox based media server we have (with networking and SAMBA only partly working) can see other devices by hostname.
Are the people at GOOGLE high on glue fumes or lobotomized? Are they intentionally crippling the most basic functionality of the Android DHCP client?
Lets pretend that I have a WIN 7 PRO PC with the name "grover" on my network and I have no top level domain. The device will always have the intranet name "grover" and its IP will change on every boot (or loss of wifi connection). I am not crazy enough to use fixed IP addresses (none of the game consoles would work).
The other devices (PCs, Macs and even our $20 NAS) manage fine. Anything with a command line can ping anything else by hostname (except pining a droid of course, ugly names and every brand & OS versions has its own oddities for getting and KEEPING a normal hostname). However none of the droids can see anything local by its name; not even the brand new Huawei's Ascend G6.
As far as I can tell only FQDNs which are viewable by the general public will resolve on a droid. You can pinggoogle.com or duckduckgo.com but not "slowpoke" or "gandolf".
The entire point of modern networking with DHCP clients and servers, is to give people a consistent way to get at devices (the have floating IPs but consistent names). You never need to know your IP address (for most things).
This is just annoying as all hell. I have to go to the router admin page just to find out what IP address a machine has right now, just to grab a file.
I'm just thankful I'm not a network admin trying to enforce network privileges based on Enterprise network hostnames. Of course that ought to work fine too (just like in Linux) but of course GOOGLE has to screw it up and leave it that way.
We need an open source tablet/phone OS that isn't crippled.
I'm no networking guru as I got side-lined by disability. However we do have a home network and run servers on it. We do not use ".local" as we have no need of a local domain and just use 192.168.0.XXX (like most people do at home). We don't bother with DDNS either as nothing is viewable to the wide world (yet).
Everything on our network gets a name as with any sane network (except for the droids where it can be an issue, even if you root them). Every devices *except* for the androids can ping using a name, not an IP. Even our busybox based NAS server can resolve a simple local hostname via the router. Even the half brain dead ZINWEL busybox based media server we have (with networking and SAMBA only partly working) can see other devices by hostname.
Are the people at GOOGLE high on glue fumes or lobotomized? Are they intentionally crippling the most basic functionality of the Android DHCP client?
Lets pretend that I have a WIN 7 PRO PC with the name "grover" on my network and I have no top level domain. The device will always have the intranet name "grover" and its IP will change on every boot (or loss of wifi connection). I am not crazy enough to use fixed IP addresses (none of the game consoles would work).
The other devices (PCs, Macs and even our $20 NAS) manage fine. Anything with a command line can ping anything else by hostname (except pining a droid of course, ugly names and every brand & OS versions has its own oddities for getting and KEEPING a normal hostname). However none of the droids can see anything local by its name; not even the brand new Huawei's Ascend G6.
As far as I can tell only FQDNs which are viewable by the general public will resolve on a droid. You can ping
The entire point of modern networking with DHCP clients and servers, is to give people a consistent way to get at devices (the have floating IPs but consistent names). You never need to know your IP address (for most things).
This is just annoying as all hell. I have to go to the router admin page just to find out what IP address a machine has right now, just to grab a file.
I'm just thankful I'm not a network admin trying to enforce network privileges based on Enterprise network hostnames. Of course that ought to work fine too (just like in Linux) but of course GOOGLE has to screw it up and leave it that way.
We need an open source tablet/phone OS that isn't crippled.
th...@gmail.com <th...@gmail.com> #266
4 years later... Nothing changed, shame on Google, that's why people prefer Apple because they want a device that work and they don't want to mess with a bug during 4 years !
Android isn't reliable enough for professional users, see what append when you try to connect to local computer with a hostname: it failed
Tell me Who is using IP rather than hostname ? Nobody that's why hostname resolution was made for.
What append to user with old android, nothing, better bought a new device... But wait ! What ? Still not solved ! Shame on Google !
Android isn't reliable enough for professional users, see what append when you try to connect to local computer with a hostname: it failed
Tell me Who is using IP rather than hostname ? Nobody that's why hostname resolution was made for.
What append to user with old android, nothing, better bought a new device... But wait ! What ? Still not solved ! Shame on Google !
cp...@gmail.com <cp...@gmail.com> #267
Moto G 2014 on 4.4.4 still having the problem. What a freaking joke. Basic DHCP doesn't work right. What is this, 1997?
th...@gmail.com <th...@gmail.com> #268
Got an update on my Sony z1 compact, small fix for android 4.4.4 but nothing for this bug... Very annoying !
st...@gmail.com <st...@gmail.com> #269
Multiple android devices (Samsung Tab 3, Moto G and the Nexus 5) unable to resolve local domain
sr...@gmail.com <sr...@gmail.com> #270
Yes, I also has the same problem. I try to create an app to preview Photoshop design on the phone and the App need the IP to connect to Photoshop, without hostname user need to update IP address every times their computer's IP has changed. Such as annoying bug.
th...@gmail.com <th...@gmail.com> #271
Lollipop problem still present confirmed. This is a moderate inconvenience!!
5.0.1 GPe HTC One M7
5.0.1 GPe HTC One M7
st...@gmail.com <st...@gmail.com> #272
Ran across this while searching for something else I cannot reproduce the error on my internal network. We use SharePoint so I figured I would fire up Chrome today and just type in http://sharepoint to give it a try. I was directed instantly to a login page and was able to use my username without domain and my password to connect. I am using a Motorola Droid Turbo. It appears that domain search is working perfectly on that device. I would then lean towards it being a manufacturer issue except that are plenty of other Motorola devices listed. That got me curious and wondering if it happens only when not using default ports. I was not able to re-produce when using a non standard 80 or 443 request either. I was able to log in to our web filter without issue. If it helps my DHCP Server is running on Windows Server 2008 R2 with these options being passed:
003: ( IP of Gateway)
006: (DNS Server IPs)
015: (AD Domain)
044: (IP of WINS)
046: (0x8)
003: ( IP of Gateway)
006: (DNS Server IPs)
015: (AD Domain)
044: (IP of WINS)
046: (0x8)
th...@gmail.com <th...@gmail.com> #273
Solved with a workaround, see attached file.
NETGEAR R6250 with DD-WRT Firmware: DD-WRT v24-sp2 (06/06/14) kongac
Enter "local" in "lan domain" (service -> DHCP server)
In "Additional DNSMasq Options" enter:
local=/local/
expand-hosts
Don't forget to enable "local DNS"
Now with my android device I can use CHROME or "ES file explorer" to access to any computer on my LAN with the hostname, DD-WRT return ".local" attached to the hostname.
Don't have to enter an IP address anymore, but this doesn't solve the problem it's a workaround that other device (like apple) doesn't need !
NETGEAR R6250 with DD-WRT Firmware: DD-WRT v24-sp2 (06/06/14) kongac
Enter "local" in "lan domain" (service -> DHCP server)
In "Additional DNSMasq Options" enter:
local=/local/
expand-hosts
Don't forget to enable "local DNS"
Now with my android device I can use CHROME or "ES file explorer" to access to any computer on my LAN with the hostname, DD-WRT return ".local" attached to the hostname.
Don't have to enter an IP address anymore, but this doesn't solve the problem it's a workaround that other device (like apple) doesn't need !
ja...@gmail.com <ja...@gmail.com> #274
Issue still in 5.1 :( Nexus 5 on fresh 5.1 install still does not resolve internal adresses. It resolves the external IP
mi...@gmail.com <mi...@gmail.com> #275
This is a joke. (And a rather sick joke.)
I have a tablet running 4.1.1 (which is sad, in itself)
and it fails to resolve my development Ubuntu server, despite the fact that I've set up rules in DNS and DHCP which DOES now resolve properly on iOS 8.4 and Galaxy S4 running 4.4.2
What is it with Google? Are they deliberately trying to be as idiosyncratic as Microsoft, as far as standards are concerned?
I have a tablet running 4.1.1 (which is sad, in itself)
and it fails to resolve my development Ubuntu server, despite the fact that I've set up rules in DNS and DHCP which DOES now resolve properly on iOS 8.4 and Galaxy S4 running 4.4.2
What is it with Google? Are they deliberately trying to be as idiosyncratic as Microsoft, as far as standards are concerned?
le...@gmail.com <le...@gmail.com> #276
Oh Good Grief!
It has taken me 3 days of searching to finally find this - the source - of the issue. I've wasted countless hours messing about trying to work out what's at fault, messing with DHCP options, and eventually rooting my device so I can put a hosts file on it.
That's just ridiculous. I really shouldn't be doing that.
So just to add my 2d'th (yes I really am that old and english)
Kitkat 4.4.4 on two different devices (phone and Android MXiii TV box),
Lollipop 5.02 on Nexus 7
and they ALL exhibit the same behaviour:
Can resolve "vm2.local"
Cannot resolve "vm2"
Unlike OSX, Ubuntu, Win7, Win8, ios6, and every ip-phone, router and firewall I've ever used, it's ignoring & not appending the DHCP delivered "domain" or "search-domain" information when doing a lookup.
Basic IP stack stuff, apparently made it into a couple of releases, but not he main code stream - come on Google - spend a little of those $billions you didn't pay in UK Corporation tax these last few years...
Embarrassing - so many people would shout this from the rooftops if it was Windows or ios wouldn't they?
;-(
It has taken me 3 days of searching to finally find this - the source - of the issue. I've wasted countless hours messing about trying to work out what's at fault, messing with DHCP options, and eventually rooting my device so I can put a hosts file on it.
That's just ridiculous. I really shouldn't be doing that.
So just to add my 2d'th (yes I really am that old and english)
Kitkat 4.4.4 on two different devices (phone and Android MXiii TV box),
Lollipop 5.02 on Nexus 7
and they ALL exhibit the same behaviour:
Can resolve "vm2.local"
Cannot resolve "vm2"
Unlike OSX, Ubuntu, Win7, Win8, ios6, and every ip-phone, router and firewall I've ever used, it's ignoring & not appending the DHCP delivered "domain" or "search-domain" information when doing a lookup.
Basic IP stack stuff, apparently made it into a couple of releases, but not he main code stream - come on Google - spend a little of those $billions you didn't pay in UK Corporation tax these last few years...
Embarrassing - so many people would shout this from the rooftops if it was Windows or ios wouldn't they?
;-(
ch...@gmail.com <ch...@gmail.com> #277
@Robert Greenwalt are you still on this? Is anyone? Updates?
It's still happening over half a decade later: it's June of 2015 and was reported in April of 2010. Maybe it got spliced into 4.4 for a short time but the issue exists in 5.0 (and I saw someone say 5.0.1). I'm using a Samsung Galaxy S5 with 5.0 to confirm the still-broken code.
This isn't an attempt to be snarky, but serious. As hundreds of other people have said, us IT guys are crippled when trying to fight for Android adoption in the business world when it doesn't do something that has been around for a very long time. And that something is extremely significant yet extremely basic. It's so significant that everyone just expects it to work. In fact, in many venues, it's the entire reason they cannot adopt Android!
It's very embarrassing sticking our necks out for Android while having to try to explain something like this!
It's still happening over half a decade later: it's June of 2015 and was reported in April of 2010. Maybe it got spliced into 4.4 for a short time but the issue exists in 5.0 (and I saw someone say 5.0.1). I'm using a Samsung Galaxy S5 with 5.0 to confirm the still-broken code.
This isn't an attempt to be snarky, but serious. As hundreds of other people have said, us IT guys are crippled when trying to fight for Android adoption in the business world when it doesn't do something that has been around for a very long time. And that something is extremely significant yet extremely basic. It's so significant that everyone just expects it to work. In fact, in many venues, it's the entire reason they cannot adopt Android!
It's very embarrassing sticking our necks out for Android while having to try to explain something like this!
hi...@gmail.com <hi...@gmail.com> #278
Yep, still there. Same problem. No 'workable' solutions. It's a seriously bad look, folks. If I didn't fix a bug like this in my stuff for years, my customers would
(a) go batshit crazy and then
(b) go elsewhere.
Very sad, really.
(a) go batshit crazy and then
(b) go elsewhere.
Very sad, really.
mi...@gmail.com <mi...@gmail.com> #279
Has anyone figured out a workable solution? I have an app that needs to resolve a host by name. On iOS I am able to access the search domains in <resolv.h>, but in the Android NDK that library has been severely crippled. Has anyone else run into this issue, and found a workable solution? Has anyone researched using dhcp.h to do a search domain lookup (rfc 3397)? I would love to find a solution for this, or better yet, just have Android fix this issue that has apparently been plaguing the community for over 5 years.
pa...@gmail.com <pa...@gmail.com> #280
I solve this issue using freedns.afraid.org in my case I need to resolve a RADIUS authentication server (10.1.0.1) and I create a domain domain.mooo.com than resolve to 10.1.0.1.
must me patient while the propagation occurs
must me patient while the propagation occurs
lo...@gmail.com <lo...@gmail.com> #281
Comming from https://stackoverflow.com/questions/8651043/android-browser-hostnames-does-not-get-resolved-if-domain-name-is-not-appended#answer-8651252
Same issue here... Xperia z3 compact with Lollipop(5.0.2): the phone does not use the dns server specified by dhcp, whereas every other devices on my local network do.
Work around that worked for me: setting static ip address on the phone and manually specify the correct ip for the dns server. No ideal though, cause no more dhcp for this phone...
Same issue here... Xperia z3 compact with Lollipop(5.0.2): the phone does not use the dns server specified by dhcp, whereas every other devices on my local network do.
Work around that worked for me: setting static ip address on the phone and manually specify the correct ip for the dns server. No ideal though, cause no more dhcp for this phone...
me...@gmail.com <me...@gmail.com> #282
This is crazy, wouldn't have assumed a Linux based OS would over look this, I spent a few hours searching until I concluded it was Android at fault.
Not quite as bad as not having arrows keys on the keyboard though. Tut tut.
Please fix both.
Not quite as bad as not having arrows keys on the keyboard though. Tut tut.
Please fix both.
ma...@gmail.com <ma...@gmail.com> #283
I would only click the star icon, but I really feel that this is a serious defect that shouldn't be open that long... so I want to trigger some notifications e-mails to remind of this...
sa...@gmail.com <sa...@gmail.com> #284
I'm shocked to see this was reported 3 years ago and never fixed. I'm running Android version 5.0.1 and my phone is ignoring the DNS suffix assigned by the DHCP server. IOS handles DNS suffixes just fine, this is shameful of Android.
mt...@gmail.com <mt...@gmail.com> #285
This is terrible. I am pretty sure I will switch to Windows Phone. 5 years, and you did nothing. "great" job...
sk...@googlemail.com <sk...@googlemail.com> #286
I cant believe this is closed 3 years ago and still not fixed. This should be left open not closed as "some time in the future". this should have been fixed already. No this should have been fixed 4 and a half years ago... This is against the whole point of DHCP and using network specified destinations for various services. This is disgraceful.
ms...@gmail.com <ms...@gmail.com> #287
Just got 5.1.1 update on Samsung GS5 on AT&T - and this seems to be working from what I can tell. Hopefully someone else can confirm this.
ms...@gmail.com <ms...@gmail.com> #288
... and the upgrade broke my Wifi - keeps disconnecting...
gr...@gmail.com <gr...@gmail.com> #289
Purchased a brand new Samsung Galaxy Tab A and the problem is still present.
ma...@gmail.com <ma...@gmail.com> #290
so how do we go about reopening this. issue still on version 47.0.2526.83, however see there a 48 version out a few days ago.
gu...@gmail.com <gu...@gmail.com> #291
This is really needed, please fix this bug!!!!!!!
s....@googlemail.com <s....@googlemail.com> #292
Why is Google turning his back on this? Have my own dns and dhcp server running. I redirect address to IP. It works will closely all gadgets, but not with android 6. It worked with 5.1 btw.
When I trace on Android 6, my external IP is returned (dynamic domain address). When I do the same on any other device (and former Android 5.1), I get my internal IP returned.
HELP HELP HELP
When I trace on Android 6, my external IP is returned (dynamic domain address). When I do the same on any other device (and former Android 5.1), I get my internal IP returned.
HELP HELP HELP
s....@googlemail.com <s....@googlemail.com> #293
Guys, I just noticed that with Android 6, my DNS requests were sent over IP6. Means, when I disabled IP6 (http://forum.xda-developers.com/general/networking/guide-disable-ipv6-android-t3298659/ ), my resolving worked again :)
Hope that helps you!
Hope that helps you!
ol...@gmail.com <ol...@gmail.com> #294
I have been a Google champion since its inception, but the fact that this issue hasn't been fixed after 6 years is a betrayal that breaks my heart. I need to implement an XAMPP-based server on my PC that will have to be available to locally-connected devices, and now I find out that 85% of mobile devices out there won't be able to access it. I'll try to install the server using a hard-coded local IP address, but it probably won't work, as most sane developers expect the use of a domain name, rather than an IP. Since I'll be dealing with new people all the time, it's not feasible to ask them to implement any kind of a workaround on their mobile devices. So, if the server installation doesn't work with a hard-coded IP, I'm screwed...
mi...@gmail.com <mi...@gmail.com> #295
I've created a work-around this issue, by compiling c-ares and using it to do the DNS resolving.
cu...@gmail.com <cu...@gmail.com> #296
For me, I have a device I am trying to communicate with on the network called 'boosty'. When I ping the device using adb shell, I get a strong signal no problem. But all attempts to get that IP address using the InetAddress APIs fails completely. Why?
I should add, the C APIs like getaddrinfo() are failing too.
I should add, the C APIs like getaddrinfo() are failing too.
[Deleted User] <[Deleted User]> #297
Dear Google,
I have about 40 devices in my home subnetwork.: 3 IP cameras, 2 Smart TVs, few Raspberry PI and so on.
It is really hard to remember them by IP so I configured my local DNS server. Now it is much easier: tv1.lan, cam2.lan...
I thought that my android devices will trust my DNS servers...
Google, don't be an evil, please!
I have about 40 devices in my home subnetwork.: 3 IP cameras, 2 Smart TVs, few Raspberry PI and so on.
It is really hard to remember them by IP so I configured my local DNS server. Now it is much easier: tv1.lan, cam2.lan...
I thought that my android devices will trust my DNS servers...
Google, don't be an evil, please!
gu...@gmail.com <gu...@gmail.com> #298
my device is android 4.4.2(micromax A104)
Iam always facing the problem that "DRONY has STOPPED" when am turning on the drony after setting host name and all.
could you please help me in resolving this.???
Iam always facing the problem that "DRONY has STOPPED" when am turning on the drony after setting host name and all.
could you please help me in resolving this.???
ha...@gmail.com <ha...@gmail.com> #299
NOT fixed... LG G3 can't handle DNS redirect on my home network (ie- force routing to openDNS...)
ny...@gmail.com <ny...@gmail.com> #300
Confirmed not fixed. Why was this bug closed?
ad...@gmail.com <ad...@gmail.com> #301
Works for me on a Pixel.
to...@motec.com.au <to...@motec.com.au> #302
ZTE Axon 7, Android 7.1.1 Still not fixed!
pt...@gmail.com <pt...@gmail.com> #303
Verified still not fixed on a Verizon Samsung Galaxy S7, current as of latest released update.
mi...@gmail.com <mi...@gmail.com> #304
To resolve this issue, you can get the IP Address of the device, then use call getnameinfo (http://beej.us/guide/bgnet/output/html/multipage/getnameinfoman.html ), or similar in Java, and the resulting hostname will contain the search suffix. You can parse this value, and then use it to create FQDN for your subsequent DNS queries.
I've tested this in an NDK app, it works, and also negates my previous comment about needing c-ares. You only need c-ares for looking up hostnames without a search suffix.
I've tested this in an NDK app, it works, and also negates my previous comment about needing c-ares. You only need c-ares for looking up hostnames without a search suffix.
lo...@squareup.com <lo...@squareup.com> #305
Same issue on my Google Pixel
ji...@gmail.com <ji...@gmail.com> #306
Android 5.1 here.. also can't resolve domains from a local nameserver.
My nameserver is custom written along with my dhcp server. Android gains its dhcp acknowledgement packet and does indeed issue dns requests to my nameserver - which then replies but for some reason android chooses to ignore these packets - i've watched them with wireshark and know they are correctly formatted replies which are sent.
I can only assume that android ignores these local nameservers for security purposes but its a pain. Windows machines work perfectly well with my dhcp / nameserver combo and are in fact obeying the dhcp / dns protocols. Android is ignoring the protocol (as insecure as it may be) and yet it was supposed to be a challenger to MS products? - At least MS let you do what you want!
My nameserver is custom written along with my dhcp server. Android gains its dhcp acknowledgement packet and does indeed issue dns requests to my nameserver - which then replies but for some reason android chooses to ignore these packets - i've watched them with wireshark and know they are correctly formatted replies which are sent.
I can only assume that android ignores these local nameservers for security purposes but its a pain. Windows machines work perfectly well with my dhcp / nameserver combo and are in fact obeying the dhcp / dns protocols. Android is ignoring the protocol (as insecure as it may be) and yet it was supposed to be a challenger to MS products? - At least MS let you do what you want!
tt...@gmail.com <tt...@gmail.com> #307
Same for me on 3 different Android smartphone in Android 7.0 / 6.0 and 5.0.2.
Bug seems to go trough the updates.
Bug seems to go trough the updates.
nr...@gmail.com <nr...@gmail.com> #308
Have installed Apache2 web-server, Avahi and Samba (for WINS) and still can't access my device by hostname (http://servername or http://servername.local ), only by IP.
Details are placed onhttps://android.stackexchange.com/q/190257/251819 and https://askubuntu.com/q/1000126/66509 .
Tested on Android 4.4 and 5.0.2.
Details are placed on
Tested on Android 4.4 and 5.0.2.
bi...@gmail.com <bi...@gmail.com> #309
When will this be fixed?
ca...@gmail.com <ca...@gmail.com> #310
hello, is this issue solved? i'm facing problems with local names resolution with a galaxy tab A (android 7.1.1)
go...@gmail.com <go...@gmail.com> #311
Same issue on the Pixel 3. Android is not respecting the dns the local dhcp says it should use. Every other device on the network respects the dns the dhcp hands out.
a....@gmail.com <a....@gmail.com> #312
Hey Isn't fixed. I have same problem on Android 9.
mi...@gmail.com <mi...@gmail.com> #313
Same issue on Xiaomi RedNote Me 6 Pro...
10 years since the issue openning.............WTF????
10 years since the issue openning.............WTF????
bl...@gmail.com <bl...@gmail.com> #314
That's Google listening to it's 'customers'. In quotes because unless you're a partner that makes up a significant portion of the revenue, you are NOT significant.
le...@gmail.com <le...@gmail.com> #315
Hi,
Is there a solution regarding this boring issue?
Same as other people, ve got a local dns that is resolving perfectly things, but with the phone, it doesnt works.
Let me know how to solve that.
Is there a solution regarding this boring issue?
Same as other people, ve got a local dns that is resolving perfectly things, but with the phone, it doesnt works.
Let me know how to solve that.
mi...@velentium.com <mi...@velentium.com> #316
Recommend compiling and using c-ares as the resolver. See previous comments about it.
co...@gmail.com <co...@gmail.com> #317
Same issue ... Galaxy note 9.
Running BIND DNS server in private network. On desktop everything seems to work.
When configuring android 10 to use DNS 1 as my BIND server the web app is just unreachable.
Running BIND DNS server in private network. On desktop everything seems to work.
When configuring android 10 to use DNS 1 as my BIND server the web app is just unreachable.
[Deleted User] <[Deleted User]> #318
Comment has been deleted.
Description
Shortly: When connected on WiFi to a network which specifies a domain
name, hostnames in that domain do not resolve without appending the domain
to the hostname.
As background, our university has a wireless network open to students so
that the network itself is "open", not secured, but no traffic past the
gateway is allowed prior authentication using a web browser. In
particular, if you try to access any web page with a web browser before
authentication, you will always be redirected to
Only once you have successfully logged in on that page, all network
connections work as you'd expect them to normally work.
The problem is that the hostname (in this case "joynet") cannot be
resolved to its IP address. When I do ping to joynet on my laptop, it says
it is pinging "
Android phone, using Android Debug Bridge (adb), for "ping joynet" it says
it cannot find the hostname. If I do "ping
correctly on 192.168.0.1.
And this brings the problem that since the joynet gateway HTTPS server
only shows the login form when hostname "joynet" is used in the HTTP
headers, it makes it impossible to use WiFi on such networks because
logging in is not possible. (going to
or
joynet:443/login)
So my assumption here is that there is a bug that Android does not take
into account the domain of the network it is connected to, and this causes
local hostname lookups to fail.