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.04k stars 230 forks source link

DNS trace not working with SERVFAIL/REFUSED status #630

Closed pdelteil closed 2 months ago

pdelteil commented 2 months ago

While using -j -trace flags I noticed the DNS trace is returned correctly when the status is NOERROR but no output is displayed when the resulting status is SERVFAIL or REFUSED

dnsx version:

1.2.1

Current Behavior:

Using echo example.com | dnsx -j -trace does not return any output if the status error is SERVFAIL or REFUSED

Expected Behavior:

Using echo example.com | dnsx -j -trace returns trace data for all status values.