Is there a particular reason why all these DNS servers are put in the /etc/resolv.conf file?
Only the localhost DNS server is needed to set the Transparent Proxy.
I know it is not necessary for you to link it, but I am including the source as a reference for this issue, see:
https://gitlab.torproject.org/legacy/trac/-/wikis/doc/TransparentProxy#local-redirection-through-tor