Closed Bug 1567343 Opened 5 years ago Closed 5 years ago

Investigate DNSv6 issues in Fenix

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: CuveeHsu, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Failure in test_network_connectivity_service.js

Not sure if it's limitation of android.
It might be WONTFIX.

Assignee: nobody → kershaw

Hi Valentin,

I have some questions about DNSv6 issue on android.

  1. Could you explain a bit what exactly the issue is? I've tried to use about:networking#dnslookuptool to resolve example.org with fennec on android 9 and I do see ipv6 address.
  2. In test_network_connectivity_service.js, why do we use localhost for ipv6 domain and why we use example.org for ipv4?

Thanks.

Flags: needinfo?(valentin.gosu)

From what I can recall from writing the test the problem was that ip6-localhost didn't always resolve to ::1 on Android.
But from looking at /etc/hosts in both my Android phone and the emulator, that should work.
So maybe it's ok now? Give it a shot and see if it works :)

(In reply to Kershaw Chang [:kershaw] from comment #1)

  1. In test_network_connectivity_service.js, why do we use localhost for ipv6 domain and why we use example.org for ipv4?

Because hostnames defined in server-locations.txt normally resolve to a local IP - like example.com
But that doesn't seem to work for ipv6. So we used ::1 directly to check IP connectivity (not DNS).

Flags: needinfo?(valentin.gosu)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d46fe8b6339 Enable test_network_connectivity_service on android r=valentin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: