zdns icon indicating copy to clipboard operation
zdns copied to clipboard

Perform multiple queries in the same run

Open maaaaz opened this issue 1 year ago • 1 comments

Hello there,

Thanks for this great tool!

If I am not wrong, it is currently impossible to perform, in a same run/execution, different DNS query types: that is to say, we can't say "perform an A query and an AAAA query". So we need to perform X runs for X different records.

Would it be possible to have an option allowing us to perform multiple, at least two (A and AAAA), queries in a same run ?

Cheers!

maaaaz avatar Feb 15 '24 09:02 maaaaz

This should definitely be possible, and seems reasonable to me. Using this from the CLI could be something like: echo "google.com" | ./zdns A AAAA.

We'll just need to be sure the output allows a consuming program/user to disambiguate what query a result is in reference to. That looks to be the case for the basic DNS record types (A and AAAA but not the modules that do more complicated querying - ALOOKUP, etc.)

I'll take this on.

phillip-stephens avatar May 30 '24 20:05 phillip-stephens

Addressed by #429.

zakird avatar Aug 23 '24 18:08 zakird