Hi everyone,

I posted this on 
/r/androiddev<http://www.reddit.com/r/androiddev/comments/wxtv2/hostname_in_http_request_replaced_by/>earlier,
 but I think this group may be more helpful.

I have an app that does HTTP *requests to some web service (hostname: 
andidogs.dyndns.org)*. Sometimes, when these requests fail I get the error 
"UnknownHostException: andidogs.facebook.com" or similar. Since I created 
this app in four different variants (separately with four different 
cross-platform frameworks for my thesis), and this issue already occurred 
with two of them, I'm quite sure this has something to do with Android's 
SDK or system.

No clue where this is coming from. Do you have any ideas? I don't use 
anything Facebook-related in the app of course.

Some diagnostics:

   - *This happens quite rarely, until now I had this issue with two 
   variants of the app (native Android SDK, and Titanium framework, both using 
   the same underlying Java methods for networking)*
   - The request actually goes to xyz.facebook.com which does not exist
   - "getprop net.dns1" commands gives me 192.168.15.1, my local router's 
   IP (correct)
   - AVG Antivirus didn't find anything on my phone (Huawei Ideos X3, I 
   have no other Android device for testing)
   - Never occurred on emulator
   - Don't know how to get DNS cache content


-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/android-security-discuss/-/6q8PXqOjKZQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to