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

DNSX stucks if trying to use list #345

Closed mastercho closed 6 months ago

mastercho commented 1 year ago

dnsx version: 1.1.3 (latest)

Current Behavior:

Using -l param stucks example

$ ./dnsx.exe -l tamambet142.txt -cname -resp

      _             __  __
   __| | _ __   ___ \ \/ /
  / _' || '_ \ / __| \  /
 | (_| || | | |\__ \ /  \
  \__,_||_| |_||___//_/\_\

                projectdiscovery.io

[INF] Current dnsx version 1.1.3 (latest)

if i use catinstead -l its works

$ cat tamambet142.txt  | ./dnsx.exe -cname -resp

      _             __  __
   __| | _ __   ___ \ \/ /
  / _' || '_ \ / __| \  /
 | (_| || | | |\__ \ /  \
  \__,_||_| |_||___//_/\_\

                projectdiscovery.io

[INF] Current dnsx version 1.1.3 (latest)
www.tamambet142.com [tamambet142.com]
m.tamambet142.com [tamambet142.com]

Expected Behavior:

To read list like cat when -l is specified

Steps To Reproduce:

dnsx.exe -l list.txt -cname -resp

Screenshot

RamanaReddy0M commented 1 year ago

@mastercho can you please try the latest version(1.1.4)?

I tried the latest version and it worked. Screenshot 2023-06-01 at 4 12 05 PM

let me know if the problem still persists, thank you.

mastercho commented 1 year ago

Unfortunately still having same issue with -l

hastalamuerte commented 1 year ago

dnsx.exe -l .\httpx.txt -a -o ip.txt dnsx.exe -l .\httpx.txt -a -aaaa -cname -o ip.txt dnsx.exe domain.com dnsx.exe -l .\httpx.txt --o ip.txt not any variants are working) with list of urls . with or without http or https......