Firefox has some weird slowness with DNS that I have troubleshot to death. I still use it for almost everything, but sometimes I'll have an entire day of 30s page loading times.
Same here. Tends to be pretty inconsistent. DNS-over-HTTP(s) definitely disabled. 30s is a lot more than I've experienced, but there are times where it clearly struggles to look things up.