zmap / zdns

Fast DNS Lookup Library and CLI Tool
Apache License 2.0
891 stars 121 forks source link

Split ZDNS into a library and CLI tool #360

Closed phillip-stephens closed 2 months ago

phillip-stephens commented 3 months ago

This PR exposes a new Resolver object so other go code can interact directly with ZDNS. /cli creates 1k worker threads, each with their own Resolver to resolve large sets of domains efficiently.

I'll add documentation of the new structure but want to get this PR merged since it's holding anything else up.

phillip-stephens commented 2 months ago

@zmap/zdns-maintainers This is ready for review but I would like to wait until we either merge or discard https://github.com/zmap/zdns/pull/370 before merging this.

zakird commented 2 months ago

@phillip-stephens just wanted to flag that I think this is in your camp at the moment as tests are currently failing :(