Firefox prefers IPv4 when website uses HTTPS DNS records with ipv4hints
Categories
(Core :: Networking: DNS, defect, P2)
Tracking
()
People
(Reporter: mozilla-bugzilla, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-triaged][necko-priority-next])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Steps to reproduce:
- Enable DNS over HTTPS (preferably, specify the provider) which makes Firefox consult HTTPS records (for ECH, ALPN hints, IP hints)
- Get IPvFoo (https://addons.mozilla.org/en-US/firefox/addon/ipvfoo-pmarks/) to see what IP Firefox uses to connect
- Go into a website with HTTPS records that have IP hints (https://www.cloudflare.com)
(You might need to these flags to make sure Firefox uses HTTPS dns records: network.dns.force_use_https_rr, network.dns.force_waiting_https_rr)
Actual results:
Firefox ignored ipv6hints, only seemingly using ipv4hints to connect to the website which makes it use IPv4 in that website unless a true reload is performed even when IPv6 is available.
Expected results:
Firefox should've preferred IPv6 like it usually does when HTTPS records are not available. IPvFoo would've showed an IPv6 connection.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Security' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•7 months ago
|
Comment 2•4 months ago
|
||
The fix is currently behind the network.dns.preferIPv6
pref.
We should turn it on as soon as possible.
Description
•