Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: DNS queries result in "network error", but ping, etc work fine  (Read 1023 times)

augustineas

  • Newbie
  • *
  • Posts: 2

I love this tool and use it all the time when I evangelize IPv6 to people.

Unfortunately, in any lookup on the DNS page of the app fails with:

Error
network error

This is regardless of DNS type and regardless of being on AT&T's 5G network, Sprint's network, or any of the WiFi networks I have tested on. I am using mostly Samsung devices running Android 12. Other functions like Ping and Traceroute work just fine.

I think this is the same issue that was reported here: https://forums.he.net/index.php?topic=4116.0.

My uneducated guess is that there is a permissions problem in newer versions of Android with the particular function being used for the DNS part, because it definitely worked for me on earlier versions of Android and I don't think the app itself has changed in a while. Maybe it just needs a recompile with newer options? I don't know much about Android development, but I see notices all the time in apps saying something to that effect.

I use the app to show people that they are already using IPv6 without knowing it. We look at the Interface page and they see the IPv6 addresses on the cellular interfaces. Then we have fun doing DNS lookups of facebook.com and see the hidden words encoded in the IPv6 addresses.

It is a great tool and great for socializing IPv6 since everyone has a device it works on and can see how prevalent it is.
Logged

tjeske

  • Full Member
  • ***
  • Posts: 143
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #1 on: May 17, 2022, 06:02:22 AM »

Which tool are you talking about?
Logged

ipv6capr

  • Newbie
  • *
  • Posts: 1
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #2 on: June 01, 2022, 01:55:58 AM »

Hello,

I have the same problem.

I use the HE.NET Network Tools on iOS 15.5 (iPad and iPhone).

I think it worked before the update of iOS to 15.5

It doesn't matter if I use my WiFi or the mobile network.

The result of every DNS Lookup is blank. Also when I enter a DNS server like 8.8.8.8 or 1.1.1.1

My firewall is open for outside traffic.

Best regards

Carsren
Logged

kcochran

  • Sr. Network Engineer, Hurricane Electric
  • Administrator
  • Sr. Member
  • *****
  • Posts: 428
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #3 on: June 02, 2022, 10:29:38 AM »

For iOS devices, this appears to be a likely bug in iOS 15.5 within one of the DNS API functions.  We'll have to see if it get resolved during the 15.6 betas.

https://developer.apple.com/forums/thread/706738

If I copy out the code from the macOS GitHub repo for libresolv68 for these functions into a test program, instead of the using current libresolv68.102.2, a change from == to >= at line 246 appears to be the culprit.  Going to presume there was an off-by-one error concern in that region.  Now, the full repercussions of that change, and what a revert would incur, is beyond what I have time to dig into currently, but we know where it is at least.
« Last Edit: June 06, 2022, 05:20:37 PM by kcochran »
Logged

augustineas

  • Newbie
  • *
  • Posts: 2
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #4 on: June 16, 2022, 01:16:35 PM »

Thanks for looking into this. Do you have any insights into the Android side?
Logged

kcochran

  • Sr. Network Engineer, Hurricane Electric
  • Administrator
  • Sr. Member
  • *****
  • Posts: 428
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #5 on: July 21, 2022, 08:32:21 PM »

iOS15.6 sorts the DNS issue.
Logged

realdreams

  • Newbie
  • *
  • Posts: 26
Re: DNS queries result in "network error", but ping, etc work fine
« Reply #6 on: August 16, 2022, 05:19:48 AM »

The android app has been awesome despite last update in 2015. If the dns issue on android 12 can be fixed, that saves the hassle of finding an alternative app.
Logged