penetration test – What is the best way to use nmap anonymously in kali?

so I use proxychains for a lot of scanning and enumeration tools. However, nmap does not function well with proxychains. I always get this error:
nmap: netutil.cc:1319: int collect_dnet_interfaces(const intf_entry*, void*): Assertion rc == 0' failed.

I have found a solution online, which is to comment out proxy_dns in the proxychains.conf file. I don’t want to do that because that would leave a trace of my DNS, if I were to attack. I prefer to stay anonymous, but don’t know how for this case. Any help?

Note: I am a beginner and still learning