dnsx
dnsx copied to clipboard
unstable results with dev version
dnsx version:
dev
Steps To Reproduce:
Running with latest version:
while true; do echo total: `chaos -d hackerone.com | dnsx -silent | wc`; done
total: 10
total: 10
total: 10
total: 11
total: 10
total: 11
total: 10
total: 11
Running with dev version:
while true; do echo total: `chaos -d hackerone.com | ./dnsx -silent | wc`; done
total: 7
total: 8
total: 9
total: 8
total: 10
total: 9
total: 9
total: 9
total: 9
Expected Behavior:
stable / expected results with dev code.
not able to replicate the issue, getting stable results over multiple runs on dev
while true; do echo total: `chaos -d hackerone.com -silent | ./dnsx -silent | wc -l`; done
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
total: 11
...
The difference in enumeration depends on which resolver is used during iterations, as they are rotated in a round-robin fashion. A -/+ 1 item difference among runs with UDP protocol is acceptable. Shall we attempt to resolve with all resolvers at least once until one is responsive? cc @ehsandeep
Moving to discussions as we are unable to repro this!