Open Bug 1981521 Opened 5 months ago Updated 1 month ago

Firefox on Android prefers IPv4 over IPv6

Categories

(Core :: Networking, enhancement, P3)

Firefox 141
All
Android
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: doug.hs, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(3 files)

Steps to reproduce:

  1. Connect phone to a computer and use USB Debugging to inspect Firefox on Android
  2. Go to a domain that you know resolves to IPv4 and IPv6
  3. Check the resolved IP in the Network tab

Actual results:

The website prefers the private IPv4 instead of the IPv6 ULA.

Expected results:

Prefer IPv6

In this screenshot you can see the output of nslookup showing that it resolves to 192.168.1.106 and fd17:3cb2:d446:0:dea6:32ff:fe9c:c7ca.

Attached image nslookup on Android

The previous screenshot was on the computer. This one is from the Android phone.

Notice that IPv4 is on top. (not sure the order means anything)

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Browser Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Browser Engine

Moving to Core: Network

Component: Browser Engine → Networking
Product: Firefox for Android → Core

Could you go to about:config and set network.dns.preferIPv6 to true?

Severity: -- → S3
Flags: needinfo?(doug.hs)
Priority: -- → P2
See Also: → 1849143

I cannot find about:config on Firefox for Android. That page doesn't seem to exist there.

Flags: needinfo?(doug.hs)

(In reply to doug.hs from comment #6)

I cannot find about:config on Firefox for Android. That page doesn't seem to exist there.

That page is only available on Firefox for Android in Beta and Nightly.
We'll probably flip the pref by default, but to avoid regressions we'll wait for bug 1953459 to land first.

Depends on: happy_eyeballs
Priority: P2 → P3
Whiteboard: [necko-triaged]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: