There are 2 repositories under dns-over-tor topic.
Technitium DNS Server
Public DNS service that supports DNS over HTTPS, TLS, QUIC, and Tor. Currently available in Singapore & Indonesia.
A bare minimum dns server that resolves A type records over TOR