A fair number of resolvers support DoH and dnscrypt-proxy also supports DoT. It's fairly feature rich, you can configure a hosts file and then some.
[0] https://github.com/jedisct1/dnscrypt-proxy