Skip to content
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

Optional flag support to display results based on DNS response code #57

Open
marcelo321 opened this issue Feb 9, 2021 · 5 comments
Open
Labels
Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@marcelo321
Copy link

marcelo321 commented Feb 9, 2021

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
Copy link
Author

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
Copy link
Author

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 marcelo321 changed the title [feature] add flag to grep subdomains with a specific server response [feature] add flag to grep subdomains with a specific server status Feb 14, 2021
@ehsandeep ehsandeep changed the title [feature] add flag to grep subdomains with a specific server status [feature] do not discord nxdomain domains with cname record ( via flag) Feb 14, 2021
@marcelo321 marcelo321 changed the title [feature] do not discord nxdomain domains with cname record ( via flag) [feature] do not discard nxdomain domains with cname record ( via flag) Feb 17, 2021
@marcelo321
Copy link
Author

For servfails would also be helpful @ehsandeep!

@marcelo321
Copy link
Author

marcelo321 commented May 25, 2021

Any update with this?

@zealsham
Copy link

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

@ehsandeep ehsandeep added Type: Enhancement Most issues will probably ask for additions or changes. Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix labels Dec 3, 2021
@ehsandeep ehsandeep changed the title [feature] do not discard nxdomain domains with cname record ( via flag) Optional flag support to display results based on DNS response code Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

No branches or pull requests

3 participants