dnsx icon indicating copy to clipboard operation
dnsx copied to clipboard

-retry option is wrong

Open nil0x42 opened this issue 3 years ago • 0 comments

After some testing, i noticed that -retry actually behaves like a -num-tries option.

Indeed, running dnsx with -retry 0, we should exepct it to try once, then dont REtry at all. If the int defines the total number of tries, it should then be renamed into -tries or -num-tries to avoid confusion. Otherwise the helper should be a bit more specific.

nil0x42 avatar Feb 17 '22 19:02 nil0x42