nextdns / diag

Network diagnostic tool
MIT License
94 stars 17 forks source link

IPv6 address times out and fails to detect IPv6 connectivity #14

Closed martijk closed 1 year ago

martijk commented 1 year ago

I noticed that the diag tool fails to detect my IPv6 connectivity. Upon closer inspection the issue seems to be the default IP address that is used to detect this:

$ nc -vz 2a00:1450:4007:80a::2013 80  # default IP
nc: connect to 2a00:1450:4007:80a::2013 port 80 (tcp) failed: Connection timed out

$ nc -vz 2a00:1450:400e:811::200e 80  # random google.com IP
Connection to 2a00:1450:400e:811::200e 80 port [tcp/http] succeeded!

When running the tool with the Google IP address, it correctly detects IPv6 connectivity:

Testing IPv6 connectivity
  available: true
rs commented 1 year ago

Fixed