-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance discrepancy: dnsx as library lag compared to CLI #512
Comments
Same question. I read the code, CLI options.Threads default is 100, but use the library don't have the thread option to set. |
dnsx version: v1.1.6
Current Behavior:
I'm utilizing dnsx as a library in my program, generating subdomains from alterx, and resolving them through dnsx. The problem arises when I use dnsx as a library; the time it takes to resolve 691 subdomains is 1 minute and 14 seconds. However, when I perform the same operation using the dnsx binary CLI, it takes only 1.75 seconds. As suggested by @dogancanbakir, I've attempted passing default values, but that doesn't seem to resolve the issue.
Expected Behavior:
When used as a library, dnsx should resolve the subdomains in the same time as when used as a CLI utility."
Steps To Reproduce:
I'm using dnsx in my program as below:
When I pass 691 subdomains to the DnsxEnrich function, it takes approximately 1 minute and 14 seconds to resolve all the subdomains. In contrast, using dnsx as the CLI tool completes the process in just 1.75 seconds.
Output:
The text was updated successfully, but these errors were encountered: