Introducing oniux: Kernel-level Tor isolation for any Linux app

Are you using an old or patched version of curl?

curl refuses to resolve .onion domains to avoid leakage: