Set the resolver by hand
Automatic DNS from the router cannot be encrypted, because the router does not advertise a DoH template. Manual IPv4 entries are the starting point.
Settings > Network & internet > Ethernet > DNS server assignment > Edit > Manual