There are easy ways to fix that at the router level, but DNS-over-HTTPS clowns ruined this.
I don't like DoH due to the central gatekeepers its current implementation in browsers encourages but I don't think it really changes anything here.