NeoRouter
http://www.neorouter.com/forum/

DNS issue with Android Lollipop
http://www.neorouter.com/forum/viewtopic.php?f=10&t=5700
Page 1 of 1

Author:  jon [ Fri May 29, 2015 7:07 am ]
Post subject:  DNS issue with Android Lollipop

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

Author:  kevinz [ Fri May 29, 2015 8:22 am ]
Post subject:  Re: DNS issue with Android Lollipop

Hi jon,

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

Thanks,
KevinZ - NeoRouter team

Author:  jon [ Sat May 30, 2015 4:27 am ]
Post subject:  Re: DNS issue with Android Lollipop

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

Author:  jon [ Wed Jun 03, 2015 4:02 am ]
Post subject:  Re: DNS issue with Android Lollipop

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

Author:  kevinz [ Wed Jun 03, 2015 10:37 am ]
Post subject:  Re: DNS issue with Android Lollipop

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

Author:  jon [ Mon Jun 08, 2015 10:17 am ]
Post subject:  Re: DNS issue with Android Lollipop

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 444 times

Author:  jon [ Mon Jun 15, 2015 8:56 am ]
Post subject:  Re: DNS issue with Android Lollipop

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

Author:  kevinz [ Mon Jun 15, 2015 2:09 pm ]
Post subject:  Re: DNS issue with Android Lollipop

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

Author:  jon [ Tue Jun 16, 2015 3:02 am ]
Post subject:  Re: DNS issue with Android Lollipop

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/