Also if you force DNS servers in Settings->Network & internet->DNS, like 9.9.9.9, you can set private DNS to automatic and it should use DNS over TLS using this server.
Note that with Quad9, DNS servers tested with dnsleaktest will show up as Woodynet (they have a partnership)