-
Notifications
You must be signed in to change notification settings - Fork 22
implement net::lookup_host #101
Comments
This is hard. :) We need to implement our own resolver for that, or find some library that does it. |
I'll try to implement. I use musl libc implementation as reference. |
Implementing a resolver is a major project that IMO should be in its own crate that can be shared with other projects. There are already multiple projects implementing DNS in Rust and it would be great to work together with them. |
host lookup implementations I found:
Can we use such big crates as trust-dns or rotor-dns? |
It will be hard to use those libraries directly right now: They use a lot of the standard library that we haven't implemented yet. Other than that, I'd not be opposed to using a big existing library, we can always find a smaller one later. |
We can directly use So, if we have to pick one of those three, I'd vote for the one that needs less modifications. Code size is not much of a problem but the more we have to modify the crate, the greater the work required to upgrade the dependency. |
it was missing from #85
cc @aleksander
The text was updated successfully, but these errors were encountered: