shuffledns icon indicating copy to clipboard operation
shuffledns copied to clipboard

Optional flag support to display results based on DNS response code

Open marcelo321 opened this issue 4 years ago • 5 comments

Hello,

I don't know if it is ok to propose flags, but would be fucking amazing to have a flag like -response where we can specify the type of server status we want to get.

The default value would run the tool the same way it is running now. And if I specify like -response refused that it only shows the subdomains that gave the status refused. It should support the 4 main status, noerror, nxdomain, servfail, refused.

I would love to have that as I was doing it manually with massdns but the scripts were a mess.. shuffledns <3

marcelo321 avatar Feb 09 '21 05:02 marcelo321

The main reason why I am asking this is that:

If we have a subdomain that responds with nxdomain but has a valid cname record, massdns actually prints the record and lets us process and get the subdomain/domain.

Shuffledns discards all nxdomains with valid cnames, killing the recon for subdomain takeover and others.

marcelo321 avatar Feb 09 '21 19:02 marcelo321

Let me know if something isn't clear, but essentially to make shuffledns not discard subs with valid records. (then the flag thing to get specific server status might be an enhancement ).

marcelo321 avatar Feb 14 '21 05:02 marcelo321

For servfails would also be helpful @ehsandeep!

marcelo321 avatar Mar 20 '21 05:03 marcelo321

Any update with this?

marcelo321 avatar May 25 '21 01:05 marcelo321

hey @marcelo321 did you find a way to use massdns and still fillter wildcard ?

zealsham avatar Jun 13 '21 13:06 zealsham