EDIT: Thanks for all your comments - It might be a dns issue in firefox. I have forced the dns to cloudflare in network settings. Hope it fixes the issue. Atleast the above two sites are opening. Will update if i see this error again.
I’m not having any trouble with those on Firefox myself, so it’s not a a problem with the browser itself and those URLs. The error message could indicate a DNS problem. Not with the wider DNS system, but potentially with Firefox’s implementation. Have you tried disabling DNS over HTTPS? It’s in Settings → General → Network Settings → “Enable DNS over HTTPS”
I see that on my company computer when I let the VPN expire and firefox will not reset the connection when I reconnect to the VPN. I have to close all Firefox windows and reopen
I had an issue like this after messing with about:config settings but I can’t remember exactly what change did it.
I’d look at your modified about:config settings and play around with resetting settings you suspect could be responsible and testing to see if any of the changes resolves anything.
That’s the thing - It’s not very consistent with these urls. Sometimes they open and sometimes they just refuse. But on other browsers they consistently open.
Is there anything useful in about:networking#dns and do you get a proper response for those domains in about:networking#dnslookuptool ? (Don’t worry about NS_ERROR_UNKNOWN_HOST under HTTP RRs)