You may want to try disabling DNS over https as that was causing similar issues for me https://support.mozilla.org/en-US/kb/firefox-dns-over-https
You may want to try disabling DNS over https as that was causing similar issues for me https://support.mozilla.org/en-US/kb/firefox-dns-over-https