When trying to access a blocked site (like Reddit via default ISP DNS), Firefox creates a failed connection attempt. If I then switch my Windows DNS to 1.1.1.1 or enable Cloudflare WARP, pressing F5 in Firefox still fails to load the page.
It seems Firefox clings to stale TCP sockets and negative DNS cache, unlike Chromium browsers which automatically clear them upon system network changes. Currently, the only way to make it work is to completely close and restart Firefox.
Suggested Fix:
- Automatically flush socket pools and invalid DNS entries when Windows triggers a network/DNS change event.
- Drop broken keep-alive sockets immediately when the user hard refreshes (F5) after a failed connection.
This would save users from having to restart the browser every time their network context changes.