question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DNS doesn't work on a few devices

See original GitHub issue

I have problem with one device (from about 80).

Apk installed, relay on host started, connection by ‘reverse’ setted, broadcast for activation sent, VPN started. As result Gnirehtet’s VPN works: I can open some IP-based web page by IP (I mean http://10.10.10.10 url).

But it doesn’t resolve any hostname. I see requests in gnirehtet’s log, I see answers by tcpdump. I can reproduce it with last Java version and previous Rust. Device is clean (I did factory reset just before experiment, wasn’t connected to WiFi, no one additional app). The same host/wire/adb/gnirehtet works fine with different device.

It there any ideas what’s wrong? What logs can help to investigate?

So, versions:

  • gnirehtet-java-v2.3.zip or gnirehtet-rust-macos64-v2.2.1.zip
  • MacOS 10.12.6
  • SM-T815Y (Galaxy Tab S2), Android 7.0, Security patch January 1, 2018
2018-11-09 18:09:40.493 INFO Main: Starting relay server...
2018-11-09 18:09:40.493 INFO Relay: Relay server started
2018-11-09 18:09:54.983 INFO TunnelServer: Client #0 connected
2018-11-09 18:10:06.413 INFO TcpConnection: 10.0.0.2:49299 -> 10.118.203.233:80 Open
2018-11-09 18:10:06.414 INFO TcpConnection: 10.0.0.2:49300 -> 10.118.203.233:80 Open
2018-11-09 18:10:06.769 INFO TcpConnection: 10.0.0.2:49301 -> 10.118.203.233:80 Open
2018-11-09 18:10:06.773 INFO TcpConnection: 10.0.0.2:49302 -> 10.118.203.233:80 Open
2018-11-09 18:10:12.052 INFO TcpConnection: 10.0.0.2:49303 -> 10.118.203.233:80 Open
2018-11-09 18:10:15.862 INFO UdpConnection: 10.0.0.2:39428 -> 8.8.8.8:53 Open
2018-11-09 18:10:23.051 INFO TcpConnection: 10.0.0.2:49300 -> 10.118.203.233:80 Close
2018-11-09 18:10:23.051 INFO TcpConnection: 10.0.0.2:49299 -> 10.118.203.233:80 Close
2018-11-09 18:10:23.052 INFO TcpConnection: 10.0.0.2:49302 -> 10.118.203.233:80 Close
2018-11-09 18:10:23.052 INFO TcpConnection: 10.0.0.2:49301 -> 10.118.203.233:80 Close
2018-11-09 18:10:23.055 INFO TcpConnection: 10.0.0.2:49303 -> 10.118.203.233:80 Close
2018-11-09 18:10:23.079 INFO UdpConnection: 10.0.0.2:6521 -> 8.8.8.8:53 Open
2018-11-09 18:10:33.362 INFO UdpConnection: 10.0.0.2:19474 -> 8.8.8.8:53 Open

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:18

github_iconTop GitHub Comments

1reaction
rom1vcommented, Nov 9, 2018

Is 8.8.8.8 reachable from your computer:

dig @8.8.8.8 github.com

?

You can use a custom DNS with:

gnirehtet start -d xx.xx.xx.xx
0reactions
caburetcommented, Nov 21, 2018

Same problem. I try 4 DNS (2 google and 2 from my local ISP) and keep happend. I have similar problem in /issues/153 for more detail. Keep asking for DNS. I restart the device and genymobile, deny access to storage and change default DNS with the local one and now its working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to the Fix "DNS Server Not Responding" Error - Kinsta®
The "DNS Server Not Responding" message tells you your computer isn't able to connect to the internet. Learn why it happens and how...
Read more >
DNS error across all devices - Networking - Linus Tech Tips
Since we got home last night, every device connected to our home network is giving a DNS finished no internet error.
Read more >
8 ways to fix 'DNS server not responding' errors on a Mac or PC
8 ways to fix 'DNS server not responding' errors on a Mac or PC · Try using another web browser or device ·...
Read more >
How to Fix DNS Server Not Responding Problem - wikiHow
1. Try connecting with a different device. If you can connect a phone, tablet, or computer to the network and access the webpage...
Read more >
Why would a device on a network suddenly experience DNS ...
Your ISP's DNS server is down or unreachable due to system or network issues. · Your ISP's DNS software may have crashed, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found