Android could not resolv unqualified hostname

Bug #1581390 reported by mar.mack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Android Agent
Invalid
Undecided
Unassigned

Bug Description

Android is unable by "Design" to resolved unqualified hostname.
Google don't want give a workaroud or fix it...
https://code.google.com/p/android/issues/detail?id=8030

For Google it's not a bug but a functionnality (to force the used of Google online services...)

So, Android can not resolve "ocsinventory-ng"...
But it can resolve "ocsinventory-ng.local", "ocsinventory-ng.server.company", "ocsinventory-ng.com"...

So when all these conditions are met:
 - you don't use rooted device (to modify /etc/resolv.conf)
 - you don't have MDM Server (because it's to expensive or you want an internal server and not an online solution)
 - your users remove OCS agent from their device...(reset of the device or think you spy them)
 - all your device are registred online to Google
When you force install of ocsinventory trough Google play store... OCSinventory Agent could not contact server...

Because:
 - automatic report is not enabled by default
 - the default url is not a FQDN adress (http://ocsinventory-ng/xxx instead of http://ocsinventory-ng.local/xxx).

Why use .local by default ?
Because it's generic dns suffix use only for internal purpose (it's the default extension on MacOSX for example).

Revision history for this message
Philippe BEAUMONT (kapouik) wrote :

The project OCS Inventory NG is now on Github => https://github.com/OCSInventory-NG

Launchpad is not used anymore

Changed in ocsinventory-android-agent:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.