Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: DNS issue with Android Lollipop
PostPosted: Fri May 29, 2015 7:07 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi,

since I made an upgrade to lollipop I have a DNS issue.
If I sign in with NeoRouter VPN free my mobile android device get no DNS answers any more.

I can ping the DNS IP and any other IP but my device seems to be unable to resolve hostnames - e.g. if I sign in and try to open the "Help" page directly from the NeoRouter App, my browser returns with "page unavailable". If I sign out and open the "Help" page again my browser displays the page as expected.

I tried several other DNS severs but without success. As soon as I sign out DNS works as expected.

Any help with this issue is apprecated.

Thanks
Jon


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Fri May 29, 2015 8:22 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi jon,

Can you give the model of your phone/device? And what version of your Android Lollipop?

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Sat May 30, 2015 4:27 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi KevinZ,

the device is a note 4, N910F with Android 5.0.1, SimplRom (http://forum.xda-developers.com/note-4/snapdragon-dev/rom-simplrom-v1-t3004628).

Yesterday I tried another kernel without success.

Have a nice day.
jon


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Wed Jun 03, 2015 4:02 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi,

I just tested NeoRouter free with the stock Android Lollipo 5.0.1 (N910FOXA1BOB4_DBT) on a Samsung N910F.

As soon as I sign in with NeoRouter DNS requests fail.

Any help is appreciated.
Jon


Last edited by jon on Thu Jun 04, 2015 3:39 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Wed Jun 03, 2015 10:37 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi jon,

I cannot reproduce your issue on Nexus 9 (Lollipop). But I don't have a Samsung N910F.

NeoRouter doesn't change DNS settings, so I'm thinking the ROM may change something when VPN is up. Can you try to add DNS entry (8.8.8.8) to your phone after NR is up? If you can hook up adb catlog to your phone, you can collect the detailed information when NR starts. Generally it shows the default DNS entry (8.8.8.8).

Thanks,
Kevin


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Mon Jun 08, 2015 10:17 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi Kevin,

Past weekend I manually set the DNS server to 8.8.8.8 after I signed in with NeoRouuter - unfortunately without success.

I rarely used adb in the past but I remember I set it up some time ago - so if you could send me the adb command line(s) to capture NR I will happily use it to provide you with debugging information.

Attached you will find two logcats I made with Logcat Extreme:
1) NeoRouter per app capture during NR session
2) capture of ConnectivityService during NeoRouter session

I hope the attached debugging information is useful.

Cheers
jon


Attachments:
File comment: debugging information
Logcats.zip [2.36 KiB]
Downloaded 1641 times
Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Mon Jun 15, 2015 8:56 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi Kevin,

can I further support you in any way to nail down and solve this issue? I like NeoRouter very much and I would like to use it on Samsung TouchWiz Lollipop.

Thank you


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Mon Jun 15, 2015 2:09 pm 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Hi Jon,

Thanks for your log file. However it seems ok.

Can you try to get the routing table and dns settings before running NR client and after sign in to NR client.
You may need to connect your device to a computer, and run adb shell

show Android routing table:
# cat /proc/net/route
or
# ip route show

show DNS server:
# getprop net.dns1
# getprop net.dns2

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: DNS issue with Android Lollipop
PostPosted: Tue Jun 16, 2015 3:02 am 
Offline

Joined: Fri May 29, 2015 5:50 am
Posts: 6
Hi Kevin,

before running NR client:

Code:
ip route show
172.16.254.0/24 dev wlan0  proto kernel  scope link  src 172.16.254.21

getprop net.dns1
8.8.8.8

getprop net.dns2
8.8.4.4


after sign in to NR client

Code:
ip route show
10.254.0.0/24 dev tun0  proto kernel  scope link  src 10.254.0.3
172.16.254.0/24 dev wlan0  proto kernel  scope link  src 172.16.254.21

getprop net.dns1
8.8.8.8

getprop net.dns2
8.8.4.4


Cheers
jon


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: