projectdiscovery / dnsx

dnsx is a fast and multi-purpose DNS toolkit allow to run multiple DNS queries of your choice with a list of user-supplied resolvers.
https://docs.projectdiscovery.io/tools/dnsx
MIT License
2.19k stars 245 forks source link

sorry!when can we use this project as a golang library?[feature] #88

Closed Nyx2022 closed 3 years ago

Nyx2022 commented 3 years ago

As this title I wanna know that when can we use dnsx as project subfinder's EnumerateSingleDomain method in our project?maybe i'm too anxious

Mzack9999 commented 3 years ago

@Nyx2020 You can use the dnsx library directly through the New method https://github.com/projectdiscovery/dnsx/blob/b4dc97030b21278f4b3d3bb7be85e87538f10b49/libs/dnsx/dnsx.go#L44 and perform all the various DNS operations that the library currently supports. Subfinder already uses dnsx internally to perform resolutions.