Skip to content

Add DNS resolver support to arti

trinity-1686a requested to merge trinity-1686a/arti:dns into main

I used trust-dns-proto with no default features because other trust-dns-* crates or proto with its default feature depend on tokio, and Arti try to be runtime independent.

I had an issue with TorClient::resolve returning a BadPort error, it seems it try to construct a TorAddr with a port set to 0, which TorAddr does not allow.

Before merging I should add some tests on resolve so the bug doesn't come back, as well as add some integration test for the new DNS port.

Merge request reports