blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.08k stars 460 forks source link

Add support for multiple types #89

Closed meme-lord closed 2 years ago

meme-lord commented 3 years ago

The code in main.c hinted at the potential intention to add support for multiple types so I am opening an issue for it. log_msg("Currently, only one record type is supported.\n"); My use-case may a bit edge case but I want to be able to filter NXDOMAINs but not if a CNAME that results in an NXDOMAIN was returned so I cannot use the -ignore flag. I setup a subdomain on a domain I own as a test case and found that the status is NOERROR if I set my type to CNAME but I can't set both A and CNAME as a type. I have my own script to parse results but this would be nice to have as it would greatly reduce the output file

unl1k3ly commented 3 years ago

up! support for multiple types would be neat and useful! Or maybe have a type called stander that loops in, NS, AAAA, A, TXT, MX, SRV etc etc

blechschmidt commented 2 years ago

3416d0b254d0cfe9b98b12d0243516e90c6f6c2f adds support for multiple (distinct) record types. To make use of this feature, -t has to be specified multiple times.