Performance discrepancy: dnsx as library lag compared to CLI #512
Labels
Investigation
Something to Investigate
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
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: